void-packages/srcpkgs/vmap/template

23 lines
640 B
Bash

# Template file for 'vmap'
pkgname=vmap
version=0.4
revision=1
build_style=qmake
configure_args="CONFIG+=NONMAP"
hostmakedepends="pkg-config"
makedepends="libcurl-devel qt5-svg-devel"
short_desc="Vulnerability-Exploit desktop finder"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://gitlab.com/git-rep/vmap"
distfiles="https://gitlab.com/git-rep/vmap/-/archive/${version}/vmap-${version}.tar.gz"
checksum=950d1a9b27ec4ff6b4641f699350914588bf59658d03bb526f5a46fb72c6a689
if [ -n "CROSS_BUILD" ]; then
hostmakedepends+=" qt5-svg-devel"
fi
post_extract() {
vsed -e 's|usr/local|usr|' -i vmap.pro
}