void-packages/srcpkgs/freetype/template
2020-05-14 10:22:39 +02:00

31 lines
854 B
Bash

# Template file for 'freetype'
pkgname=freetype
version=2.10.2
revision=1
build_style=gnu-configure
configure_args="--enable-freetype-config"
hostmakedepends="pkg-config"
makedepends="bzip2-devel libpng-devel"
short_desc="Font rendering engine and library API"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, FTL"
homepage="https://www.freetype.org/"
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b
post_install() {
vlicense docs/LICENSE.TXT docs/FTL.TXT
}
freetype-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
for f in bin include share; do
vmove usr/${f}
done
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}