diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-08 20:26:22 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-08 20:26:22 +0000 |
commit | 9a254ded4e473ec6fd0eb5b3b88f4f34822bdb4c (patch) | |
tree | b26db04050b0e75be6ea645f55e9f8be5c48c323 /user/urw-base35-fonts | |
parent | 12e0c8731a62add0a2c7e846c93edf5219fb3b74 (diff) | |
download | packages-9a254ded4e473ec6fd0eb5b3b88f4f34822bdb4c.tar.gz packages-9a254ded4e473ec6fd0eb5b3b88f4f34822bdb4c.tar.bz2 packages-9a254ded4e473ec6fd0eb5b3b88f4f34822bdb4c.tar.xz packages-9a254ded4e473ec6fd0eb5b3b88f4f34822bdb4c.zip |
user/urw-base35-fonts: new package
Diffstat (limited to 'user/urw-base35-fonts')
-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" |