1 # Contributor: Dogukan Korkmazturk <d.korkmazturk@gmail.com>
6 pkgdesc="Adobe Acrobat Reader for viewing PDF files. Chinese Version"
8 url="http://www.adobe.com/hk_zh/products/acrobat/"
10 depends=('gtk2' 'mesa' 'desktop-file-utils')
12 install=acroread.install
13 source=(http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.7/chs/AdobeReader_chs-8.1.7-1.i486.tar.bz2)
14 md5sums=('679153c6dd74995f8bd6785baea35e27')
15 sha1sums=('a240eb4b1defa26ceaf3bcfe1526b42a65c2f1ca')
18 cd "$srcdir/AdobeReader"
19 bsdtar -xf COMMON.TAR || return 1
20 bsdtar -xf ILINXR.TAR || return 1
23 mkdir -p "$pkgdir/usr/lib/acroread" || return 1
24 cp -a * "$pkgdir/usr/lib/acroread" || return 1
26 mkdir -p "$pkgdir/usr/bin" || return 1
27 ln -s /usr/lib/acroread/bin/acroread "$pkgdir/usr/bin" || return 1
29 mkdir -p "$pkgdir/usr/lib/mozilla/plugins" || return 1
30 ln -s /usr/lib/acroread/Browser/intellinux/nppdf.so "$pkgdir/usr/lib/mozilla/plugins" || return 1
32 install -D -m644 Resource/Support/AdobeReader.desktop \
33 "$pkgdir/usr/share/applications/acroread.desktop" || return 1
34 sed -i 's|AdobeReader8.png|acroread|' \
35 "$pkgdir/usr/share/applications/acroread.desktop" || return 1
36 install -D -m644 Resource/Icons/64x64/AdobeReader8.png \
37 "$pkgdir/usr/share/pixmaps/acroread.png" || return 1
39 install -D -m644 Reader/Legal/zh_CN/License.txt \
40 "$pkgdir/usr/share/licenses/acroread/License.txt" || return 1