diff options
author | Caleb Maclennan | 2020-03-13 22:03:54 +0300 |
---|---|---|
committer | Caleb Maclennan | 2020-03-13 22:09:22 +0300 |
commit | d8c33089a2cb3c17c6dd869c951f8889c976e801 (patch) | |
tree | 08bf30d76eec70ede7fb638c5c9fb25faf8cb0d1 | |
parent | 3b2c161c9187833f9028eaaadf39b49e23303515 (diff) | |
download | aur-d8c33089a2cb3c17c6dd869c951f8889c976e801.tar.gz |
Normalize with non ib package
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 27 insertions, 16 deletions
@@ -1,12 +1,14 @@ pkgbase = otf-erewhon-ibx - pkgdesc = Erewhon is based on the Heuristica family, which is based in turn on Utopia + pkgdesc = A font family based on Heuristica, which is based in turn on Utopia pkgver = 1.102 - pkgrel = 1 + pkgrel = 2 url = http://www.ctan.org/tex-archive/fonts/erewhon arch = any groups = infinality-bundle-fonts-extra license = OFL - source = http://mirrors.ctan.org/fonts/erewhon.zip + provides = otf-erewhon + conflicts = otf-erewhon + source = otf-erewhon-ibx-1.102.zip::http://mirrors.ctan.org/fonts/erewhon.zip source = 45-erewhon.conf source = 90-non-tt-erewhon.conf sha256sums = c5785f1729593185b3eed46d8ff8a8c4f3b2145df76926d2d1e324fa15a7e66a diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..570e313cd522 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +* +!./.SRCINFO +!./.gitignore +!./45-erewhon.conf +!./90-non-tt-erewhon.conf +!./PKGBUILD @@ -1,28 +1,31 @@ +# Maintainer: Solomon Choina <shlomochoina@gmail.com> # Maintainer: Caleb Maclennan <caleb@alerque.com> -# Maintainer: bohoomil <@zoho.com> +# Contributor: bohoomil <@zoho.com> _ctan=erewhon -pkgname=otf-erewhon-ibx +pkgname=otf-$_ctan-ibx pkgver=1.102 -pkgrel=1 -pkgdesc='Erewhon is based on the Heuristica family, which is based in turn on Utopia' -url="http://www.ctan.org/tex-archive/fonts/$_ctan" +pkgrel=2 +pkgdesc='A font family based on Heuristica, which is based in turn on Utopia' arch=('any') -groups=('infinality-bundle-fonts-extra') +url="http://www.ctan.org/tex-archive/fonts/$_ctan" license=('OFL') -source=(http://mirrors.ctan.org/fonts/$_ctan.zip - 45-$_ctan.conf - 90-non-tt-$_ctan.conf) +groups=('infinality-bundle-fonts-extra') +provides=("${pkgname%-ibx}") +conflicts=("${pkgname%-ibx}") +source=("$pkgname-$pkgver.zip::http://mirrors.ctan.org/fonts/$_ctan.zip" + "45-$_ctan.conf" + "90-non-tt-$_ctan.conf") sha256sums=('c5785f1729593185b3eed46d8ff8a8c4f3b2145df76926d2d1e324fa15a7e66a' 'a122f645314ed9e69f55ec77aef6956e4471418baa098f232165d2fbf130aa75' '74a318013024001702310420fa07e06f9cbf4d4db936a76d1be981c98662c1ca') package() { - cd $_ctan - install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/$pkgname/" opentype/*.otf + cd "$_ctan" + install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" opentype/*.otf install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/OFL*.txt - install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" doc/{FontLog.txt,$_ctan-doc.pdf} - install -Dm644 -t "$pkgdir/etc/fonts/conf.avail/" ../[0-9]*-$_ctan.conf + install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" doc/{FontLog.txt,"$_ctan"-doc.pdf} + install -Dm644 -t "$pkgdir/etc/fonts/conf.avail/" ../[0-9]*-"$_ctan".conf install -dm644 "$pkgdir/etc/fonts/conf.d" cd "$pkgdir/etc/fonts/conf.d" ln -s ../conf.avail/*.conf . |