summaryrefslogtreecommitdiff
path: root/pcr/ttf-gentium-plus
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-20 16:42:56 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-20 16:43:30 +0100
commite5ab498d08e216f3f24d78b94cdca785ff9f8806 (patch)
tree0ab67b4f82a05c1a675b7a87b6c0bf509f382008 /pcr/ttf-gentium-plus
parenta14da84cb8bd2cc5e82eb0f809201390f409b2db (diff)
pcr/ttf-gentium-plus: rebuilt
Diffstat (limited to 'pcr/ttf-gentium-plus')
-rw-r--r--pcr/ttf-gentium-plus/PKGBUILD12
-rw-r--r--pcr/ttf-gentium-plus/ttf-gentium-plus.install16
2 files changed, 6 insertions, 22 deletions
diff --git a/pcr/ttf-gentium-plus/PKGBUILD b/pcr/ttf-gentium-plus/PKGBUILD
index 5ac52c486..3eebe622a 100644
--- a/pcr/ttf-gentium-plus/PKGBUILD
+++ b/pcr/ttf-gentium-plus/PKGBUILD
@@ -1,22 +1,21 @@
+# Maintainer:
pkgname=ttf-gentium-plus
_pkgname=GentiumPlus
_pkgsubname=Compact
pkgver=5.000
-pkgrel=1
+pkgrel=2
pkgdesc="Fonts based on the original Gentium design with more extended Latin glyphs (Unicode 5.1), archaic Greek symbols, and full extended Cyrillic script support"
arch=('any')
-url="http://scripts.sil.org/Gentium"
+url="http://software.sil.org/gentium/"
license=('custom:OFL')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
makedepends=('unzip')
conflicts=('ttf-sil-fonts')
-install=ttf-gentium-plus.install
-source=("http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=$_pkgname-$pkgver.zip&filename=$_pkgname-$pkgver.zip"
- "http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=GentiumPlusCompact-5.000b.zip&filename=GentiumPlusCompact-5.000.zip")
+source=("http://software.sil.org/downloads/r/gentium/$_pkgname-$pkgver.zip"
+ "http://software.sil.org/downloads/r/gentium/$_pkgname$_pkgsubname-$pkgver.zip")
sha256sums=('335911f17bd2de4e43742e1d0367cfeff19a90abf7ed604f100a42705042e154'
'1d8a4ff03dce90f6002b008a5e37f890c409bc22e4e26561b67f3f3c40991b5c')
-
package() {
cd "${_pkgname}-${pkgver}"
install -D -m644 OFL.txt "$pkgdir"/usr/share/licenses/$pkgname/OFL
@@ -25,3 +24,4 @@ package() {
cd "$srcdir/$_pkgname$_pkgsubname-$pkgver"
install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF/
}
+
diff --git a/pcr/ttf-gentium-plus/ttf-gentium-plus.install b/pcr/ttf-gentium-plus/ttf-gentium-plus.install
deleted file mode 100644
index 7d26d0c2a..000000000
--- a/pcr/ttf-gentium-plus/ttf-gentium-plus.install
+++ /dev/null
@@ -1,16 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-