void-packages/srcpkgs/libpsl/template

28 lines
730 B
Bash
Raw Normal View History

2018-09-09 06:54:04 +02:00
# Template file for 'libpsl'
pkgname=libpsl
version=0.20.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config python"
short_desc="Public Suffix List library functions"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://rockdaboot.github.io/libpsl/"
distfiles="https://github.com/rockdaboot/libpsl/releases/download/libpsl-${version}/libpsl-${version}.tar.gz"
checksum=f8fd0aeb66252dfcc638f14d9be1e2362fdaf2ca86bde0444ff4d5cc961b560f
post_install() {
vlicense COPYING
}
libpsl-devel_package() {
depends="libpsl-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}