Skip to content

Instantly share code, notes, and snippets.

@munzirtaha
Created November 24, 2013 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save munzirtaha/7622990 to your computer and use it in GitHub Desktop.
Save munzirtaha/7622990 to your computer and use it in GitHub Desktop.
# 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/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment