diff options
-rw-r--r-- | user/urw-base35-fonts/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/urw-base35-fonts/APKBUILD b/user/urw-base35-fonts/APKBUILD new file mode 100644 index 000000000..40b0da945 --- /dev/null +++ b/user/urw-base35-fonts/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Tambra Wilcox <Tambra@J30AD.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=urw-base35-fonts +pkgver=20170801.1 +pkgrel=0 +pkgdesc="(URW)++ core font set" +url="https://github.com/ArtifexSoftware/urw-base35-fonts" +arch="noarch" +options="!check" # No tests provided. +license="AGPL-3.0-only WITH font-exception" +depends="" +makedepends="" +source="urw-base35-fonts-$pkgver.tar.gz::https://github.com/ArtifexSoftware/urw-base35-fonts/archive/$pkgver.tar.gz" + +package() { + local _fconf + + mkdir -p "$pkgdir"/usr/share/fonts/ttf-urw-base35 + cp -a "$builddir"/fonts/*.otf "$pkgdir"/usr/share/fonts/ttf-urw-base35/ + + mkdir -p "$pkgdir"/usr/share/fonts/urw-base35 + cp -a "$builddir"/fonts/*.afm "$pkgdir"/usr/share/fonts/urw-base35/ + cp -a "$builddir"/fonts/*.t1 "$pkgdir"/usr/share/fonts/urw-base35/ + + mkdir -p "$pkgdir"/etc/fonts/conf.d/ + pushd "$builddir"/fontconfig + for _fconf in *.conf; do + install -m 644 "$_fconf" "$pkgdir"/etc/fonts/conf.d/61-${_fconf}.conf + done + popd +} + +sha512sums="897fef5968d659ff49dc144f6c94513b32f8d9167c4fabcd7c3b13d2ce4c82d4182b25528291a36158d7a6e1cd864c67d22ce64a2c55dad4e984305f2fd65a91 urw-base35-fonts-20170801.1.tar.gz" |