updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / acroread-nl / PKGBUILD
blob707ab10ca57adc6d9fe05a0ab62db8d79a5a5abe
1 # Contributor: van Rilland Bath <vanrillandbath yahoo co uk>
3 pkgname=acroread-nl
4 pkgver=8.1.7
5 pkgrel=1
6 pkgdesc="Adobe Reader is a PDF file viewer. Dutch version."
7 arch=('i686')
8 url="http://www.adobe.com/products/reader/"
9 license=('custom')
10 depends=('gtk2' 'mesa' 'desktop-file-utils')
11 conflicts=('acroread')
12 options=('!strip')
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')
17 build() {
18   cd "$srcdir/AdobeReader"
19   bsdtar -xf COMMON.TAR || return 1
20   bsdtar -xf ILINXR.TAR || return 1
21   cd Adobe/Reader8
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