void-packages/srcpkgs/uriparser/template
2018-11-06 23:03:04 +01:00

29 lines
867 B
Bash

# Template file for 'uriparser'
pkgname=uriparser
version=0.9.0
revision=1
build_style=gnu-configure
make_check_target=check
hostmakedepends="pkg-config doxygen graphviz qt5-tools qt5-plugin-sqlite"
makedepends="gtest-devel"
short_desc="RFC 3986 compliant URI parsing and handling library"
maintainer="mobinmob <mobinmob@disroot.org>"
license="BSD-3-Clause"
homepage="https://uriparser.github.io/"
distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
checksum=ec67eb34feda8eac166f281799f03ed48387694fca44f6f5852f61f8fb535e2c
post_install() {
vlicense COPYING
}
uriparser-devel_package() {
depends="$makedepends uriparser-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove usr/include
vmove usr/share/doc
}
}