aports/main/font-unifont/APKBUILD
2025-04-19 22:03:47 +00:00

55 lines
1.2 KiB
Text

# Contributor: Breno Leitao <breno.leitao@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=font-unifont
pkgver=16.0.03
pkgrel=0
pkgdesc="GNU Unifont glyphs"
url="https://unifoundry.com/unifont/index.html"
arch="all"
options="!check" # No way to test fonts.
license="GFDL-1.3-or-later GPL-2.0-or-later WITH Font-exception-2.0"
subpackages="unifont-dev unifont-doc unifont-misc unifont-tools"
source="https://unifoundry.com/pub/unifont/unifont-$pkgver/unifont-$pkgver.tar.gz"
builddir="$srcdir/unifont-$pkgver"
prepare() {
default_prepare
# clean precompiled
make clean
}
build() {
make
}
package() {
# renamed from unifont
provides="unifont=$pkgver-r$pkgrel"
replaces="unifont"
make PREFIX="$pkgdir/usr" install
cd "$pkgdir"/usr/share/unifont
rm -r html ChangeLog* INSTALL* NEWS* README* ./*.pdf
}
tools() {
depends="bdftopcf perl-gd"
amove usr/bin
}
doc() {
default_doc
amove usr/share/unifont/*.info.*
}
misc() {
pkgdesc="$pkgdesc (misc hex/bmp files)"
amove usr/share/unifont
}
sha512sums="
ba0d19296056b43df0b778f9a73967cb95392c040fcca46c5b462fbe022f16990cba68e96cc92d3ffd972cd56914ab78088cf7f12efc3d569e830aef2badbabd unifont-16.0.03.tar.gz
"