void-packages/srcpkgs/libunibreak/template

28 lines
817 B
Bash

# Template file for 'libunibreak'
pkgname=libunibreak
version=4.0
revision=1
build_style=gnu-configure
short_desc="An implementation of the Unicode line breaking algorithm"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="zlib-acknowledgement"
homepage=https://fbreader.org/content/fbreader-beta-linux-desktop""
distfiles="https://github.com/adah1972/libunibreak/releases/download/${pkgname}_${version/./_}/${pkgname}-${version}.tar.gz"
checksum=f7329bef1eb169d3363f040cefcc323cfd0a0bc53290a35a395e1d1adc849539
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
}
}