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:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user