updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / ttf-sil-lateef / PKGBUILD
blob631e1063accafcea2a428505faeeb221ee04d337
1 # Contributor: Firmicus <firmicus āt gmx dōt net>
3 pkgname=ttf-sil-lateef
4 pkgver=1
5 pkgrel=2
6 pkgdesc="OpenType Arabic font from SIL"
7 arch=('i686' 'x86_64')
8 url="http://scripts.sil.org/ArabicFonts"
9 license=('custom')
10 depends=('fontconfig' 'xorg-font-utils')
11 conflicts=('ttf-sil-arabic')
12 install=ttf.install
13 source=('http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=lateef_opentype&filename=LateefRegOT_ttf.zip' LICENSE)
14 md5sums=('c59adf1aed6bdc4163edba707756acd0' 'dda26fba4e69efb46a4f6401439ab9be')
16 build() {
17   mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
18   cd ${startdir}/src
19   mv LateefRegOT.ttf lateef.ttf
20   install -m 644 ${startdir}/src/*.ttf ${startdir}/pkg/usr/share/fonts/TTF
21   # license...
22   mkdir -p ${startdir}/pkg/usr/share/licenses/${pkgname}
23   install -m 644 ${startdir}/src/LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt