|
PKGBUILD:
- # Contributor: Christopher Cox <nuopus@gmail.com>
- pkgname=acroread
- pkgver=7.0
- pkgrel=1
- pkgdesc="Adobe Acrobat Reader for viewing PDF files"
- url="http://www.adobe.com"
- license="NON-FREE"
- depends=()
- makedepends=()
- conflicts=()
- replaces=('acroread=<5.0.10')
- source=(ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/AdbeRdr70_linux_enu.tar.gz)
- md5sums=(f847ce21e5d871837f2dc1d2f1baf9a9)
- build() {
- mkdir -p $startdir/pkg/opt/mozilla-plugins
- mkdir -p $startdir/pkg/usr/share/{applications,pixmaps}
- mkdir -p $startdir/pkg/usr/bin
- tar xzf $startdir/src/AdbeRdr70_linux_enu.tar.gz -C $startdir/pkg/opt
- cd $startdir/pkg/opt/AdobeReader
- tar xf COMMON.TAR
- tar xf ILINXR.TAR
- rm COMMON.TAR ILINXR.TAR INSTALL
- cp $startdir/pkg/opt/AdobeReader/Browser/intellinux/nppdf.so $startdir/pkg/opt/mozilla-plugins
- cp $startdir/pkg/opt/AdobeReader/Resource/Support/AdobeReader_GNOME.desktop $startdir/pkg/usr/share/applications
- cp $startdir/pkg/opt/AdobeReader/Resource/Icons/AdobeReader.png $startdir/pkg/usr/share/pixmaps
- echo -e "cd /opt/AdobeReader\n./bin/acroread \044\061 \044\062 \044\063 \044\064 \044\065 \044\066" > $startdir/pkg/usr/bin/acroread
- chmod 755 $startdir/pkg/usr/bin/acroread
- }
复制代码 |
|