summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/ttf-gentium-plus/PKGBUILD43
1 files changed, 26 insertions, 17 deletions
diff --git a/pcr/ttf-gentium-plus/PKGBUILD b/pcr/ttf-gentium-plus/PKGBUILD
index 3eebe622a..05c47b9aa 100644
--- a/pcr/ttf-gentium-plus/PKGBUILD
+++ b/pcr/ttf-gentium-plus/PKGBUILD
@@ -1,27 +1,36 @@
-# Maintainer:
+# Contributor: bill-auger <bill-auger@programmer.net>
+
+
pkgname=ttf-gentium-plus
-_pkgname=GentiumPlus
-_pkgsubname=Compact
+_src_name=GentiumPlus
pkgver=5.000
-pkgrel=2
+pkgrel=3
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://software.sil.org/gentium/"
+url=http://software.sil.org/gentium/
license=('custom:OFL')
-depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+
+depends=(fontconfig xorg-fonts-encodings)
makedepends=('unzip')
-conflicts=('ttf-sil-fonts')
-source=("http://software.sil.org/downloads/r/gentium/$_pkgname-$pkgver.zip"
- "http://software.sil.org/downloads/r/gentium/$_pkgname$_pkgsubname-$pkgver.zip")
+source=(http://software.sil.org/downloads/r/gentium/${_src_name}-${pkgver}.zip
+ http://software.sil.org/downloads/r/gentium/${_src_name}Compact-${pkgver}.zip)
+
sha256sums=('335911f17bd2de4e43742e1d0367cfeff19a90abf7ed604f100a42705042e154'
'1d8a4ff03dce90f6002b008a5e37f890c409bc22e4e26561b67f3f3c40991b5c')
-package() {
- cd "${_pkgname}-${pkgver}"
- install -D -m644 OFL.txt "$pkgdir"/usr/share/licenses/$pkgname/OFL
- install -d "$pkgdir"/usr/share/fonts/TTF
- install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF/
- cd "$srcdir/$_pkgname$_pkgsubname-$pkgver"
- install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF/
-}
+package()
+{
+ cd "${srcdir}"/${_src_name}-${pkgver}
+
+ install -Dm644 OFL.txt "${pkgdir}"/usr/share/licenses/${pkgname}/OFL.txt
+ install -Dm644 README.txt "${pkgdir}"/usr/share/doc/${pkgname}/README.txt
+ install -m644 documentation/* "${pkgdir}"/usr/share/doc/${pkgname}/
+
+ install -dm755 "${pkgdir}"/usr/share/fonts/TTF
+ install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF/
+
+ cd "${srcdir}"/${_src_name}Compact-${pkgver}
+
+ install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF/
+}