1 # Contributor: Sergio Montesinos <sermonpe@yahoo.es>
6 pkgdesc="Adobe Acrobat Reader for viewing PDF files. Spanish version"
8 url="http://www.adobe.com/products/acrobat/main.html"
10 depends=('gtk2' 'bash' 'mesa')
11 makedepends=('rpmextract')
12 source=(http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/${pkgver}/esp/AdobeReader_esp-${pkgver}-1.i486.rpm \
14 md5sums=('517af4a798ac1ab894fa220af8d93718' '8422bddbb8c03535704a245f9858465e')
18 rpmextract.sh AdobeReader_esp-${pkgver}-1.i486.rpm
21 patch -Np3 -i ${startdir}/src/acroread-scim.patch || return 1
23 install -D -m644 Resource/Support/AdobeReader.desktop \
24 ${startdir}/pkg/usr/share/applications/AdobeReader.desktop
25 sed -i 's/AdobeReader8.png/AdobeReader.png/' \
26 ${startdir}/pkg/usr/share/applications/AdobeReader.desktop
27 install -D -m644 Resource/Icons/64x64/AdobeReader8.png \
28 ${startdir}/pkg/usr/share/pixmaps/AdobeReader.png
30 install -d ${startdir}/pkg/opt/acrobat
31 cp -r Reader ${startdir}/pkg/opt/acrobat/
32 cp -r Resource ${startdir}/pkg/opt/acrobat/
34 install -D -m755 bin/acroread ${startdir}/pkg/opt/acrobat/bin/acroread
35 install -d ${startdir}/pkg/usr/bin
36 ln -sf /opt/acrobat/bin/acroread ${startdir}/pkg/usr/bin/acroread
38 install -D -m755 Browser/intellinux/nppdf.so \
39 ${startdir}/pkg/usr/lib/mozilla/plugins/nppdf.so
41 install -D -m644 Reader/Legal/en_US/License.txt \
42 ${startdir}/pkg/usr/share/licenses/${pkgname}/License.txt