diff options
author | Markus Weimar | 2017-08-10 09:40:27 +0200 |
---|---|---|
committer | Markus Weimar | 2017-08-10 09:40:27 +0200 |
commit | 6a353249c03ce95d60b044ec8cd00cf50909da98 (patch) | |
tree | 53fc1c50a23af0de475d25a49a97494cd1bb50b8 | |
parent | e28792bb74a3791f7d6dd147618913577eabca76 (diff) | |
download | aur-6a353249c03ce95d60b044ec8cd00cf50909da98.tar.gz |
Fix and clean up.
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | otf-alegreya-sans.install | 15 |
3 files changed, 14 insertions, 30 deletions
@@ -1,15 +1,16 @@ +# Generated by mksrcinfo v8 +# Thu Aug 10 07:39:07 UTC 2017 pkgbase = otf-alegreya-sans - pkgdesc = Alegreya Sans is a humanist sans serif family with a calligraphic feeling that conveys a dynamic and varied rhythm. + pkgdesc = Humanist sans serif family with a calligraphic feeling. pkgver = 1.002 - pkgrel = 2 + pkgrel = 3 url = http://www.huertatipografica.com/en/fonts/alegreya-sans-ht - install = otf-alegreya-sans.install arch = any license = custom:OFL depends = fontconfig depends = xorg-font-utils - source = http://www.huertatipografica.com/free_download/23 - md5sums = 38224ce535dbc3002c6ecb1f956576d9 + source = alegreya-sans-ht-full-pack-otf.zip::http://www.huertatipografica.com/free_download/23 + sha256sums = 3922f88fd613a0dec8747a936d0a195ad2454f6499ebbdc97e84043e47562595 pkgname = otf-alegreya-sans @@ -1,19 +1,17 @@ # Maintainer: Markus Weimar <mail@markusweimar.de> pkgname=otf-alegreya-sans pkgver=1.002 -pkgrel=2 -depends=('fontconfig' 'xorg-font-utils') -pkgdesc='Alegreya Sans is a humanist sans serif family with a calligraphic feeling that conveys a dynamic and varied rhythm.' +pkgrel=3 +pkgdesc='Humanist sans serif family with a calligraphic feeling.' arch=('any') url='http://www.huertatipografica.com/en/fonts/alegreya-sans-ht' license=('custom:OFL') -source=('http://www.huertatipografica.com/free_download/23') -install=${pkgname}.install -md5sums=('38224ce535dbc3002c6ecb1f956576d9') +depends=('fontconfig' 'xorg-font-utils') +source=('alegreya-sans-ht-full-pack-otf.zip::http://www.huertatipografica.com/free_download/23') +sha256sums=('3922f88fd613a0dec8747a936d0a195ad2454f6499ebbdc97e84043e47562595') package() { - cd ${srcdir} - install -d ${pkgdir}/usr/share/fonts/OTF/ - install -m644 *.otf ${pkgdir}/usr/share/fonts/OTF/ - install -D -m644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -d ${pkgdir}/usr/share/fonts/OTF/ + install -m644 ${srcdir}/*.otf ${pkgdir}/usr/share/fonts/OTF/ + install -D -m644 ${srcdir}/OFL.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } diff --git a/otf-alegreya-sans.install b/otf-alegreya-sans.install deleted file mode 100644 index 664613478fb5..000000000000 --- a/otf-alegreya-sans.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -sf - mkfontscale /usr/share/fonts/TTF - mkfontdir /usr/share/fonts/TTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} |