42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Template file for 'harfbuzz'
|
|
pkgname=harfbuzz
|
|
version=2.6.8
|
|
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="OpenType text shaping engine"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://www.freedesktop.org/wiki/Software/HarfBuzz/"
|
|
changelog="https://raw.githubusercontent.com/harfbuzz/harfbuzz/master/NEWS"
|
|
distfiles="https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz"
|
|
checksum=6648a571a27f186e47094121f0095e1b809e918b3037c630c7f38ffad86e3035
|
|
|
|
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
|
|
}
|
|
}
|