void-packages/srcpkgs/vmap/template

24 lines
664 B
Bash

# 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="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/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
}