void-packages/srcpkgs/libunibreak/template

28 lines
817 B
Bash

# Template file for 'libunibreak'
pkgname=libunibreak
version=4.1
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=819a9884878827d2df876b48bdb2c40919133846ddb141e1be4bac4679dc8fb8
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
}
}