summaryrefslogtreecommitdiff
path: root/pcr/ttf-gentium-plus/PKGBUILD
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-12 04:52:15 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-07-12 07:15:24 -0400
commitb72a7a0385f683974169a7cbd02eddfadf23e6c7 (patch)
tree009ce201f1fb3ae8711c5d84f32d7c58b68d42bd /pcr/ttf-gentium-plus/PKGBUILD
parentc9afa73307a49f9791da084965179afe253c4508 (diff)
downloadabslibre-b72a7a0385f683974169a7cbd02eddfadf23e6c7.tar.gz
abslibre-b72a7a0385f683974169a7cbd02eddfadf23e6c7.tar.bz2
abslibre-b72a7a0385f683974169a7cbd02eddfadf23e6c7.zip
[ttf-gentium-plus]: rebuild
Diffstat (limited to 'pcr/ttf-gentium-plus/PKGBUILD')
-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/
+}