summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD21
-rw-r--r--ttf.install12
3 files changed, 14 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index efa8a58cc959..baeb03c1794a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,11 @@
-# Generated by mksrcinfo v8
-# Mon Jul 9 06:48:22 UTC 2018
pkgbase = ttf-new-athena-unicode
pkgdesc = A freeware multilingual font distributed by the American Philological Association.
- pkgver = 5.005
+ pkgver = 5.008
pkgrel = 1
url = https://apagreekkeys.org/NAUdownload.html
- install = ttf.install
arch = any
- license = OFL
- depends = fontconfig
- depends = xorg-font-utils
- source = https://apagreekkeys.org/fonts/NAU5_005.zip
- md5sums = d78053572a5ae101e1c4d3b99b49d276
- sha1sums = 97da1449b868ffcd0b53019f27389af1a51ffc95
- sha256sums = 5c8f7bfdceca6296e2fe9d7499a4736bf6c494466c1941968a60e75b01a1f695
+ license = OFL-1.1
+ source = https://apagreekkeys.org/fonts/NAU5_008.zip
+ sha256sums = cdfe5c38aac9c9c82568e7260cf79fe4c3f4d51461713b1485214104a6e7bbf1
pkgname = ttf-new-athena-unicode
-
diff --git a/PKGBUILD b/PKGBUILD
index a90a25fe095f..bbf72513c96c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,24 @@
-# Maintainer: aksr <aksr at t-com dot me>
+# Maintainer: Letu <fantasquex@gmail.com>
+# Contributor: aksr <aksr at t-com dot me>
+
pkgname=ttf-new-athena-unicode
_pkgname=NAU
-pkgver=5.005
+pkgver=5.008
+_pkgver=5_008
pkgrel=1
pkgdesc="A freeware multilingual font distributed by the American Philological Association."
arch=(any)
-license=('OFL')
+license=('OFL-1.1')
url="https://apagreekkeys.org/NAUdownload.html"
-depends=('fontconfig' 'xorg-font-utils')
-source=("https://apagreekkeys.org/fonts/${_pkgname}${pkgver/\./_}.zip")
-install=ttf.install
-md5sums=('d78053572a5ae101e1c4d3b99b49d276')
-sha1sums=('97da1449b868ffcd0b53019f27389af1a51ffc95')
-sha256sums=('5c8f7bfdceca6296e2fe9d7499a4736bf6c494466c1941968a60e75b01a1f695')
+source=("https://apagreekkeys.org/fonts/${_pkgname}${_pkgver}.zip")
+sha256sums=('cdfe5c38aac9c9c82568e7260cf79fe4c3f4d51461713b1485214104a6e7bbf1')
package() {
- cd $srcdir/${_pkgname}${pkgver/\./_}
+ cd $srcdir/${_pkgname}${_pkgver}
for i in *.ttf; do
install -Dm644 $i $pkgdir/usr/share/fonts/TTF/$i
done
- install -Dm644 AboutNAUfont_v5_005.rtf $pkgdir/usr/share/doc/$pkgname/AboutNAUfont_v5_005.rtf
+ install -Dm644 AboutNAUfont_v${_pkgver}.rtf $pkgdir/usr/share/doc/$pkgname/AboutNAUfont_v${_pkgver}.rtf
install -Dm644 NAU5_OpenFontLicense.pdf $pkgdir/usr/share/licenses/$pkgname/NAU5_OpenFontLicense.pdf
}
diff --git a/ttf.install b/ttf.install
deleted file mode 100644
index 61210947bba1..000000000000
--- a/ttf.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -fs >/dev/null
- mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
- mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
- echo "done"
-}
-
-post_upgrade() {
- post_install
-}
-