Created
November 24, 2013 03:31
-
-
Save munzirtaha/7622990 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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