void-packages/srcpkgs/harfbuzz/template
2018-08-02 09:28:13 -03:00

42 lines
1.1 KiB
Bash

# Template file for 'harfbuzz'
pkgname=harfbuzz
version=1.8.5
revision=1
build_style=gnu-configure
configure_args="--with-glib --with-freetype --with-cairo --with-icu --with-graphite2"
hostmakedepends="automake glib-devel libtool pkg-config"
makedepends="cairo-devel graphite-devel icu-devel"
short_desc="An OpenType text shaping engine"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/HarfBuzz/"
changelog="https://raw.githubusercontent.com/harfbuzz/harfbuzz/master/NEWS"
distfiles="${FREEDESKTOP_SITE}/harfbuzz/release/${pkgname}-${version}.tar.bz2"
checksum=8f6f40fc49dbaf15221807e2c2b9293cbaa73592ef4b3ab430252ca6571120ac
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING LICENSE
}
libharfbuzz_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
harfbuzz-devel_package() {
depends="${makedepends} libharfbuzz>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}