void-packages/srcpkgs/libunibreak/template

32 lines
835 B
Bash

# Template file for 'libunibreak'
pkgname=libunibreak
version=5.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Implementation of the Unicode line breaking algorithm"
maintainer="Orphaned <orphan@voidlinux.org>"
license="zlib-acknowledgement"
homepage="https://github.com/adah1972/libunibreak"
distfiles="https://github.com/adah1972/${pkgname}/archive/${pkgname}_${version/./_}.tar.gz"
checksum=d59878d82c84a60b592940a8e1a264f0a9714f0a9a8868b099846f780d9dc167
pre_configure() {
autoreconf -vfi
}
do_check() {
: # tests require wget and downloading from somewhere
}
libunibreak-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}