void-packages/srcpkgs/libpsl/template

28 lines
730 B
Bash

# Template file for 'libpsl'
pkgname=libpsl
version=0.21.0
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=41bd1c75a375b85c337b59783f5deb93dbb443fb0a52d257f403df7bd653ee12
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"
}
}