diff options
author | Lennard Hofmann | 2020-03-19 07:12:31 +0100 |
---|---|---|
committer | Lennard Hofmann | 2020-03-19 07:12:31 +0100 |
commit | 8bc2982515778004374f22b5bb06e5c66b04b536 (patch) | |
tree | fd823796777d141e914111261783516bf79c5956 | |
parent | 971644f6db881b75795c3640202fc204e9fdb22b (diff) | |
download | aur-otf-eb-garamond.tar.gz |
Remove install script; remove dependencies; change maintainer; …
Switch to sha256; minor clean ups
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | otf.install | 16 |
3 files changed, 11 insertions, 32 deletions
@@ -1,15 +1,12 @@ pkgbase = otf-eb-garamond - pkgdesc = Digitization of the Garamond shown on the Egenolff-Berner specimen. + pkgdesc = Digitization of the Garamond font shown on the Egenolff-Berner specimen. pkgver = 0.016 pkgrel = 2 url = http://www.georgduffner.at/ebgaramond/ - install = otf.install arch = any - license = custom:OFL - depends = fontconfig - depends = xorg-font-utils + license = OFL source = https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-0.016.zip - sha1sums = c88ce0551eca9d03954d1cbce54a83d4a4d2b1e2 + sha256sums = a0b77b405f55c10cff078787ef9d2389a9638e7604d53aa80207fe62e104c378 pkgname = otf-eb-garamond @@ -1,22 +1,20 @@ -# Maintainer: OmeGa <omega [U+0040] mailoo [.] org> +# Maintainer: Lennard Hofmann <lennard dot hofmann at web dot de> +# Contributor: OmeGa <omega [U+0040] mailoo [.] org> pkgname=otf-eb-garamond pkgver=0.016 pkgrel=2 -pkgdesc="Digitization of the Garamond shown on the Egenolff-Berner specimen." +pkgdesc="Digitization of the Garamond font shown on the Egenolff-Berner specimen." arch=('any') url="http://www.georgduffner.at/ebgaramond/" -license=('custom:OFL') -depends=('fontconfig' 'xorg-font-utils') -install=otf.install +license=(OFL) source=(https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-$pkgver.zip) -sha1sums=('c88ce0551eca9d03954d1cbce54a83d4a4d2b1e2') +sha256sums=('a0b77b405f55c10cff078787ef9d2389a9638e7604d53aa80207fe62e104c378') package() { - cd "$srcdir/EBGaramond-$pkgver" - install -d "$pkgdir/usr/share/fonts/OTF" - install -m644 otf/*.otf "$pkgdir/usr/share/fonts/OTF/" - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + cd "EBGaramond-$pkgver" + install -Dm644 otf/*.otf -t "$pkgdir/usr/share/fonts/OTF/" + install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname" } # vim:set ts=2 sw=2 et: diff --git a/otf.install b/otf.install deleted file mode 100644 index 53a54dd2bba8..000000000000 --- a/otf.install +++ /dev/null @@ -1,16 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -fs >/dev/null - mkfontscale /usr/share/fonts/OTF - mkfontdir /usr/share/fonts/OTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} - |