public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
# Maintainer: Wyegu <bsdazs17 at gmail dot com>
# Contributor: Firmicus <firmicus at gmx dot net>
# Contributor: Munzir Taha <munzirtaha at gmail dot com>
 
pkgname=ttf-sil-scheherazade
pkgver=2.010
pkgrel=1
pkgdesc="OpenType Arabic font from SIL"
arch=('any')
url="http://scripts.sil.org/ArabicFonts"
license=('custom:OFL')
depends=('fontconfig' 'xorg-font-utils')
install=ttf.install
source=('http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=Scheherazade-2.010.zip&filename=Scheherazade-2.010.zip')
sha256sums=('2f5fa6abcda9b08ae04ab8e90db49054b1eacfcb65bc083b7f45e5379a10f0dd')
 
package() {
# Font installation
cd "$srcdir/Scheherazade-$pkgver"
install -d ${pkgdir}/usr/share/fonts/TTF
install -m 644 Scheherazade-R.ttf ${pkgdir}/usr/share/fonts/TTF/scheherazade.ttf
 
# license
install -d ${pkgdir}/usr/share/licenses/${pkgname}
install -m 644 OFL.txt OFL-FAQ.txt ${pkgdir}/usr/share/licenses/${pkgname}/
 
# docs
install -d $pkgdir/usr/share/doc/$pkgname
install -m644 README.txt FONTLOG.txt documentation/Scheherazade-features.{pdf,odt} documentation/DOCUMENTATION.txt "$pkgdir/usr/share/doc/$pkgname/"
 
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.