diff --git a/srcpkgs/nmap/nmapfe.template b/srcpkgs/nmap/nmapfe.template index e6ac1c4904d..1d299df4a86 100644 --- a/srcpkgs/nmap/nmapfe.template +++ b/srcpkgs/nmap/nmapfe.template @@ -2,6 +2,7 @@ # depends="nmap>=$version desktop-file-utils pygtk" pycompile_module="radialnet zenmapCore zenmapGUI" +noarch=yes short_desc="${short_desc} - GTK Frontend" long_desc="${long_desc} diff --git a/srcpkgs/nmap/template b/srcpkgs/nmap/template index c46f4f50423..8426a07b7b7 100644 --- a/srcpkgs/nmap/template +++ b/srcpkgs/nmap/template @@ -1,7 +1,7 @@ # Template file for 'nmap' pkgname=nmap version=6.01 -revision=1 +revision=2 build_style=gnu-configure makedepends="libpcap-devel openssl-devel pcre-devel lua-devel pygtk-devel" subpackages="nmapfe" @@ -21,10 +21,3 @@ long_desc=" versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. It was designed to rapidly scan large networks, but works fine against single hosts." - -pre_configure() { - echo 'TryExec=/usr/bin/pygtk-demo' >> \ - zenmap/install_scripts/unix/zenmap.desktop - echo 'TryExec=/usr/bin/pygtk-demo' >> \ - zenmap/install_scripts/unix/zenmap-root.desktop -}