void-packages/srcpkgs/sombok/template

30 lines
824 B
Bash

# Template file for 'sombok'
pkgname=sombok
version=2.4.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config automake autogen libtool"
makedepends="libthai-devel"
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"
}
}