void-packages/srcpkgs/libpsl/template
Quentin Rameau fb5bb2f456 libpsl: fix builtin list compilation
libpsl require an unicode library for building builtin data.
2019-09-11 21:53:15 +02:00

28 lines
751 B
Bash

# Template file for 'libpsl'
pkgname=libpsl
version=0.21.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config python"
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/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"
}
}