27 lines
789 B
Bash
27 lines
789 B
Bash
# Template file for 'freetype'
|
|
pkgname=freetype
|
|
version=2.10.1
|
|
revision=2
|
|
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"
|
|
homepage="https://www.freetype.org/"
|
|
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=16dbfa488a21fe827dc27eaf708f42f7aa3bb997d745d31a19781628c36ba26f
|
|
|
|
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
|
|
}
|
|
}
|