1 # Contributor: van Rilland Bath <vanrillandbath yahoo co uk>
6 pkgdesc="Adobe Reader is a PDF file viewer. Dutch version."
8 url="http://www.adobe.com/products/reader/"
10 depends=('gtk2' 'mesa' 'desktop-file-utils')
11 conflicts=('acroread')
13 install=acroread.install
14 source=(http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/$pkgver/nld/AdobeReader_nld-$pkgver-1.i486.tar.bz2)
15 md5sums=('f9071519a1860bb185a5a09f6db91d13')
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/nl_NL/License.txt \
40 "$pkgdir/usr/share/licenses/acroread/License.txt" || return 1