void-packages/srcpkgs/libpsl/template

29 lines
745 B
Bash

# Template file for 'libpsl'
pkgname=libpsl
version=0.21.1
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config python3"
makedepends="icu-devel"
short_desc="Public Suffix List library functions"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://rockdaboot.github.io/libpsl/"
distfiles="https://github.com/rockdaboot/libpsl/releases/download/${version}/libpsl-${version}.tar.gz"
checksum=ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c
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"
}
}