From 03f3042defa972f4df37e2c4988a4aa9edc41d0b Mon Sep 17 00:00:00 2001 From: cr6git Date: Wed, 25 Jul 2018 07:55:21 +0200 Subject: [PATCH] New package: vmap-0.3 (#1175) --- srcpkgs/vmap/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/vmap/template diff --git a/srcpkgs/vmap/template b/srcpkgs/vmap/template new file mode 100644 index 00000000000..29107467e30 --- /dev/null +++ b/srcpkgs/vmap/template @@ -0,0 +1,23 @@ +# Template file for 'vmap' +pkgname=vmap +version=0.3 +revision=1 +wrksrc="vmap-v${version}" +build_style=qmake +configure_args="CONFIG+=NONMAP" +hostmakedepends="pkg-config" +makedepends="libcurl-devel qt5-svg-devel" +short_desc="Vulnerability-Exploit desktop finder" +maintainer="cr6git " +license="GPL-2.0-or-later" +homepage="https://gitlab.com/git-rep/vmap" +distfiles="https://gitlab.com/git-rep/vmap/-/archive/v${version}/vmap-v${version}.tar.gz" +checksum=0526c3a9b7723d187638485915019fcec6f2de2157683b6475703bd0aa4f6089 + +if [ -n "CROSS_BUILD" ]; then + hostmakedepends+=" qt5-svg-devel" +fi + +post_extract() { + sed -i 's|usr/local|usr|' vmap.pro +}