blob: a4cf76c413044171d76673b8a67dbf70096b8ac4 (
plain) (
blame)
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
|
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=xz-java
pkgver=1.4
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.4.zip)
sha256sums=(e3d00de1569b6caae24a85b19d7b2eb16517a2c4898669d9c95a164e7f24fd0b)
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/"
}
|