1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-23 22:59:20 +00:00

Update Windows build for Zenmap data files relocation

This commit is contained in:
dmiller
2024-03-27 16:51:53 +00:00
parent 036d1c1306
commit 17ee0b3362
2 changed files with 1 additions and 3 deletions

View File

@@ -25,8 +25,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools")
package() {
cd "${NMAP_DIR}/zenmap"
#${MINGW_PREFIX}/bin/python -m pip build
MSYS2_ARG_CONV_EXCL="--prefix=" \
${MINGW_PREFIX}/bin/python -m pip install --prefix=${MINGW_PREFIX} --root="${pkgdir}" --optimize=1
${MINGW_PREFIX}/bin/python -m pip install --no-deps --force-reinstall --prefix=${MINGW_PREFIX} --root="${pkgdir}" .
install -Dm644 install_scripts/unix/zenmap.desktop "${pkgdir}${MINGW_PREFIX}/share/applications/zenmap.desktop"
}

View File

@@ -143,7 +143,6 @@ nodelete =
# For debugging use python.exe
mingw*/bin/python.exe
# Zenmap's files (mostly in site-packages above)
mingw*/share/zenmap
# mingw*/bin/zenmap
mingw*/lib/python3.*/site-packages/zenmapCore
mingw*/lib/python3.*/site-packages/zenmapGUI