30 lines
881 B
Bash
30 lines
881 B
Bash
# Template file for 'uriparser'
|
|
pkgname=uriparser
|
|
version=0.9.4
|
|
revision=1
|
|
build_style=cmake
|
|
make_check_target=test
|
|
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=b7cdabe5611408fc2c3a10f8beecb881a0c7e93ff669c578cd9e3e6d64b8f87b
|
|
|
|
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/*.so"
|
|
vmove usr/include
|
|
vmove usr/share/doc
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|