updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / acroread-fonts / PKGBUILD
blob5637cdd671f610a211a0533f2aa034cf1b1c2142
1 # Contributor: Lee.MaRS <leemars@gmail.com>
2 # Contributor: monson <holymonson@gmail.com>
4 pkgname=acroread-fonts
5 pkgver=9.1.0
6 pkgrel=1
7 pkgdesc="Chinese Simplified, Chinese Traditional, Japanese, Korean and Extended Language font packs for Adobe Acrobat Reader"
8 url="http://www.adobe.com/support/downloads/product.jsp?platform=unix&product=10"
9 license=('custom')
10 arch=('any')
11 depends=("acroread>=$pkgver")
13 source=("http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_chs_i486-linux.tar.bz2" 
14         "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_cht_i486-linux.tar.bz2"
15         "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_jpn_i486-linux.tar.bz2"
16         "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_kor_i486-linux.tar.bz2"
17         "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1/misc/FontPack910_xtd_i486-linux.tar.bz2")
18 md5sums=('8abe3f7fb77918a8376b6793b841eaab'
19          '38baee4eca2d8291220eb8a8ab77f9b7'
20          'b681807c0b8a34c76ec894675d98ec77'
21          '76a3dd2511d82c9dc1556bb0f0eae6c1'
22          'a2de87858345cf3b2199d4a2fe424b65')
24 _prefix='/usr/lib/acroread/'
26 build() {
27     cd "$srcdir"
28     find $srcdir -iname LANG\*.TAR -exec tar -pxf {} \;    
29     rm Adobe/Reader9/Resource/CMap/Identity-[HV]
32 package() {
33     mkdir -p "$pkgdir/$_prefix"    
34     mv "$srcdir"/Adobe/Reader9/Resource "$pkgdir/$_prefix"/