Skip to content

@flying-sheep /libgcj14_PKGBUILD
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
pdftk-bin & libgcj14
# 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
}
# 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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.