void-packages/srcpkgs/sombok/template

30 lines
838 B
Bash
Raw Normal View History

2017-09-16 22:48:49 +02:00
# Template file for 'sombok'
pkgname=sombok
version=2.4.0
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config automake autogen libtool"
short_desc="Line Breaking Algorithm described in Unicode Standard Annex UAX #14"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="Artistic, GPL-1"
homepage="https://github.com/hatukanezumi/sombok"
distfiles="https://github.com/hatukanezumi/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=14d9dcd3621bf9d591a7158aeac99b4d4a60296558173be51d57b54b8f9d70a2
pre_configure() {
autoreconf -i
}
sombok-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}