void-packages/srcpkgs/libpsl/template

30 lines
828 B
Bash

# Template file for 'libpsl'
pkgname=libpsl
version=0.21.2
revision=1
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/"
changelog="https://raw.githubusercontent.com/rockdaboot/libpsl/master/NEWS"
distfiles="https://github.com/rockdaboot/libpsl/releases/download/${version}/libpsl-${version}.tar.gz"
checksum=e35991b6e17001afa2c0ca3b10c357650602b92596209b7492802f3768a6285f
post_install() {
vlicense COPYING
}
libpsl-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}