updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ttf-gentium-plus / PKGBUILD
blobefce812763713c88ce617274bdee8c9a6aef6e63
1 # Maintainer:
2 pkgname=ttf-gentium-plus
3 _pkgname=GentiumPlus
4 _pkgsubname=Compact
5 pkgver=1.508
6 pkgrel=3
7 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"
8 arch=('any')
9 url="http://scripts.sil.org/Gentium"
10 license=('custom:OFL')
11 depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
12 makedepends=('unzip')
13 conflicts=('ttf-sil-fonts')
14 install=ttf.install
15 source=("http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=$_pkgname-$pkgver.zip&filename=$_pkgname-$pkgver.zip")
16 md5sums=('59895c113dcc20b213f63c32b6a2e451')
18 build() {
19   /bin/true
21 package() {
22   cd "$srcdir/$_pkgname-$pkgver"
23   install -D -m644 OFL.txt "$pkgdir"/usr/share/licenses/$pkgname/OFL
24   install -d  "$pkgdir"/usr/share/fonts/TTF
25   install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF/
26   cd "$startdir"
27   _url="http://scripts.sil.org/ttw/fonts2go.cgi?family=$_pkgname&pkg=$_pkgsubname&ver=$pkgver"
28   wget -O "$_pkgname$_pkgsubname-$pkgver.zip" ${_url}
29   cd "$srcdir"
30   bsdtar -xf "$startdir/$_pkgname$_pkgsubname-$pkgver.zip"
31   cd "$srcdir/$_pkgname$_pkgsubname-$pkgver"
32   install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF/