33 lines
882 B
Bash
33 lines
882 B
Bash
# Template file for 'libunibreak'
|
|
pkgname=libunibreak
|
|
version=4.3
|
|
revision=1
|
|
wrksrc="${pkgname}-${pkgname}_${version/./_}"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Implementation of the Unicode line breaking algorithm"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="zlib-acknowledgement"
|
|
homepage="https://github.com/adah1972/libunibreak"
|
|
distfiles="https://github.com/adah1972/${pkgname}/archive/${pkgname}_${version/./_}.tar.gz"
|
|
checksum=68ec132550ee261a9d880b8bcad059d0d30035f4a9119975c30c0eff4fa309a7
|
|
|
|
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
|
|
}
|
|
}
|