updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ttf-sil-fonts / PKGBUILD
blob559e64fac920a46b262c9c67f73610075be75099
1 # Contributor & Maintainer: mutlu_inek <mutlu_inek@yahoo.de>
2 # Contributor: <cheesinglee@gmail.com>
3 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
5 pkgname=ttf-sil-fonts
6 pkgver=6
7 pkgrel=1
8 pkgdesc="A collection of OFL-licensed fonts from SIL"
9 arch=('i686' 'x86_64')
10 url="http://scripts.sil.org/OFL_fonts"
11 license=('custom:OFL')
12 depends=('fontconfig' 'xorg-font-utils')
13 conflicts=('ttf-sil-gentium')
14 provides=('ttf-sil-gentium')
15 install=ttf.install
16 source=('abyssinica.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=AbyssinicaSIL1.200.zip&filename=AbyssinicaSIL1.200.zip'
17         'andika.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=Andika-1.002.zip&filename=Andika-1.002.zip'
18         'annapurna.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=annapurna_sil_1_001&filename=AnnapurnaSIL-1.001.zip'
19         'apparatus.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=AppSIL1.0.zip&filename=ApparatusSIL.zip'
20         'charis.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=CharisSIL-4.110.zip&filename=CharisSIL-4.110.zip'
21         'daibanna.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=DaiBanna-2.200.zip&filename=DaiBanna-2.200.zip'
22         'doulos.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=DoulosSIL-4.110.zip&filename=DoulosSIL-4.110.zip'
23         'ezra.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=EzraSIL251.zip&filename=EzraSIL251.zip'
24         'galatia.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=GalSIL21b.zip&filename=GalSIL21.zip'
25         'gentiumplus.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=GentiumPlus-1.508.zip&filename=GentiumPlus-1.508.zip'
26         'lateef.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=Lateef_OT_1_001&filename=LateefRegOT_1.001.zip'
27         'modulkiri.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=Mondulkiri-5.300&filename=Mondulkiri-5.300.zip'
28         'nuosu.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=NuosuSIL2.1.1.zip&filename=NuosuSIL2.1.1.zip'
29         'padauk.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=Mh_Padauk_zip&filename=padauk-2.8.zip'
30         'scheherezade.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=scheherazade_OT_1_005&filename=ScheherazadeRegOT-1.005.zip'
31         'sophianubian.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=SN1.0.zip&filename=SN1.0.zip'
32         'taiheritagepro.zip::http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=TaiHeritagePro2_0.zip&filename=TaiHeritagePro2_0.zip')
33 md5sums=( '8210f0468e297009638be9cbe9fb4bda'                                                                                                                                                                      
34           '9d3dee790c997f573047dc9846535c69'                                                                                                                                                                          
35           '30f8e89d384b8118424c80d2dfdf202b'                                                                                                                                                                     
36           'dc731cbca134eb554b9ad2bba0bef143'                                                                                                                                                                    
37           '21e82944f1f7ff63d02756a6050b7629'                                                                                                                                                             
38           'b6501ebc574d25d687bc9f0ac5a38a30'                                                                                                                                                                  
39           'cc51142afd571ede602778c440c7eb84'                                                                                                                                                                 
40           'f8a47987a4b75992e819ddff69f63050'                                                                                                                                                                       
41           'b720ec73df014bf4c73521fa03e9531b'                                                                                                                                                                      
42           '59895c113dcc20b213f63c32b6a2e451'                                                                                                                                                                  
43           'c060ab84ab33ae8f991103258b8e7f22'                                                                                                                                                                          
44           '65c1ab20c25a948e9a85ab85078d89c1'                                                                                                                                                                       
45           '50570ee6e8d5a8f338ab7d95f3c9eee5'                                                                                                                                                                           
46           '5601d47d09ea76d271abd624638a3c5b'                                                                                                                                                                         
47           '3c7e7d7f93802162effe2b517af98be0'                                                                                                                                                                    
48           'c015a3f6482f89dd58836bf4fa65ed84'                                                                                                                                                                   
49           'c8bdd7f921cdca75fff89e8ea1a078fa' )
51 build() {
52   install -d  ${startdir}/pkg/usr/share/fonts/TTF
53   
54   # Font installation
55   install -m644 ${startdir}/src/*.ttf ${startdir}/pkg/usr/share/fonts/TTF
56   install -m644 ${startdir}/src/*/*.ttf ${startdir}/pkg/usr/share/fonts/TTF
58   # License installation
59   install -d ${startdir}/pkg/usr/share/licenses/${pkgname}
60   install -m644 ${startdir}'/src/OFL.txt' ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE