mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Allow multiple versions of Zenmap wheel in build tree
This commit is contained in:
parent
28964ccfd3
commit
9452ba36e5
1 changed files with 2 additions and 1 deletions
|
|
@ -33,10 +33,11 @@ build() {
|
|||
|
||||
package() {
|
||||
cd "${NMAP_DIR}/zenmap"
|
||||
whlver=$(${MINGW_PREFIX}/bin/python -c 'import zenmapCore.Version as V; print(V.VERSION.lower())')
|
||||
|
||||
MSYS2_ARG_CONV_EXCL="--prefix=" \
|
||||
${MINGW_PREFIX}/bin/python -m installer --prefix=${MINGW_PREFIX} \
|
||||
--destdir="${pkgdir}" dist/*.whl
|
||||
--destdir="${pkgdir}" dist/zenmap-${whlver}*.whl
|
||||
|
||||
install -Dm644 install_scripts/unix/zenmap.desktop "${pkgdir}${MINGW_PREFIX}/share/applications/zenmap.desktop"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue