blob: 8cc84b60f87e1e5bcc40f86e32b3775b3debe088 (
plain) (
tree)
|
|
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=xz-java
pkgver=1.2
pkgrel=1
pkgdesc="Java library for XZ and LZMA compression"
arch=('any')
url="http://tukaani.org/xz/java.html"
license=('Public Domain')
depends=('java-runtime>=1.4')
makedepends=('java-environment>=1.4', 'unzip')
provides=('xz-java')
conflicts=('xz-java')
source=(http://tukaani.org/xz/xz-java-1.2.zip)
md5sums=(886e9a03d6077712e2c324e1555bd1ec)
build() {
cd "$srcdir"
javac -source 1.4 -target 1.4 -d . -s src -cp . $(find src | grep \\.java\$)
jar -cf xz-java.jar $(find . | grep \\.class\$)
}
package() {
cd "$srcdir"
install -d "$pkgdir/usr/lib/"
install -m 755 xz-java.jar "$pkgdir/usr/lib/"
}
|