mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
nmap: fix zenmap datadir
This commit is contained in:
parent
9cf1301b4a
commit
e7937d3356
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nmap'
|
# Template file for 'nmap'
|
||||||
pkgname=nmap
|
pkgname=nmap
|
||||||
version=7.95
|
version=7.95
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
|
configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
|
||||||
hostmakedepends="python3-setuptools automake python3-build python3-pip pkg-config python3-cairo python3-gobject"
|
hostmakedepends="python3-setuptools automake python3-build python3-pip pkg-config python3-cairo python3-gobject"
|
||||||
|
@ -32,6 +32,9 @@ post_install() {
|
||||||
|
|
||||||
# Move zenmap data to /usr/share
|
# Move zenmap data to /usr/share
|
||||||
mv ${DESTDIR}/${py3_sitelib}/zenmapCore/data ${DESTDIR}/usr/share/zenmap
|
mv ${DESTDIR}/${py3_sitelib}/zenmapCore/data ${DESTDIR}/usr/share/zenmap
|
||||||
|
vsed -i \
|
||||||
|
-e "s@prefix = join(dirname(__file__).*@prefix = '/usr/share/zenmap'@" \
|
||||||
|
${DESTDIR}/${py3_sitelib}/zenmapCore/Paths.py
|
||||||
}
|
}
|
||||||
|
|
||||||
zenmap_package() {
|
zenmap_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue