public
Last active

pdftk-bin & libgcj14

  • Download Gist
libgcj14_PKGBUILD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
# Please report PKGBUILD bugs at
# https://github.com/ystein/archlinux-aur-packages
 
# Maintainer: Yannik Stein <yannik.stein [at] gmail.com>
 
pkgname='libgcj14'
pkgver=4.8.1_6
pkgrel=1
pkgdesc="Dynamically load and interpret java class files. Built from binary \
executables available in Debian repositories. Please report PKGBUILD bugs at \
https://github.com/ystein/archlinux-aur-packages."
url=http://gcc.gnu.org/java/
arch=(i686 x86_64)
license=(GPL)
conflicts=(gcc-gcj)
 
if [ $CARCH = 'i686' ]; then
_DEBARCH=i386
md5sums=(10b66e8345efd6c9bd405124e1b37609)
else
_DEBARCH=amd64
md5sums=(ac36a2c9d574fa5f858092426a88d677)
fi
source=(http://ftp.de.debian.org/debian/pool/main/g/gcc-4.8/${pkgname}_${pkgver//_/-}_${_DEBARCH}.deb)
 
build() {
tar xf data.tar.gz
}
 
package() {
find -type f -name 'libgcj.so*' -execdir install -Dm755 {} $pkgdir/usr/lib/{} \;
 
# find newest library
NLIB="/"$(cd $pkgdir; find usr/lib -maxdepth 1 -type f -name 'libgcj.so*' | sort --reverse | head -1)
ln -s $NLIB $pkgdir/usr/lib/$pkgname.so
}
pdftk-bin_PKGBUILD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
# Please report PKGBUILD bugs at
# https://github.com/ystein/archlinux-aur-packages
 
# Maintainer: Yannik Stein <yannik.stein [at] gmail.com>
# Contributor: Dan Serban
# Submitter: Liu Chang <goduck777@gmail.com>
 
pkgname=pdftk-bin
pkgver=2.01_1
pkgrel=1
pkgdesc="Swiss army knife for PDFs. Built from binary executables available \
in Debian repositories. Please report PKGBUILD bugs at \
https://github.com/ystein/archlinux-aur-packages."
url=http://www.pdfhacks.com/pdftk
arch=(i686 x86_64)
license=(GPL)
depends=(libgcj14)
provides=(pdftk)
conflicts=(pdftk pdfchain-all-inclusive)
 
if [ $CARCH = 'i686' ]; then
_DEBARCH=i386
md5sums=(ca4e27ddd81e5243ce5a836a2ae87fd8)
else
_DEBARCH=amd64
md5sums=(2b4001e9e234292c1c86836ff3dd03de)
fi
source=(http://ftp.de.debian.org/debian/pool/main/p/pdftk/pdftk_${pkgver//_/-}_${_DEBARCH}.deb)
 
build() {
tar xf data.tar.gz
}
 
package() {
cp -r usr $pkgdir
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.