We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28964cc commit 9452ba3Copy full SHA for 9452ba3
zenmap/install_scripts/windows/PKGBUILD
@@ -33,10 +33,11 @@ build() {
33
34
package() {
35
cd "${NMAP_DIR}/zenmap"
36
+ whlver=$(${MINGW_PREFIX}/bin/python -c 'import zenmapCore.Version as V; print(V.VERSION.lower())')
37
38
MSYS2_ARG_CONV_EXCL="--prefix=" \
39
${MINGW_PREFIX}/bin/python -m installer --prefix=${MINGW_PREFIX} \
- --destdir="${pkgdir}" dist/*.whl
40
+ --destdir="${pkgdir}" dist/zenmap-${whlver}*.whl
41
42
install -Dm644 install_scripts/unix/zenmap.desktop "${pkgdir}${MINGW_PREFIX}/share/applications/zenmap.desktop"
43
}
0 commit comments