aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-22 17:19:24 +0200
committerMattias Andrée <maandree@operamail.com>2012-07-22 17:19:24 +0200
commit38242a11ad03ee86d98e209ff2ad94c2f3d942d1 (patch)
treee2612e4b5716ffcd166f8b8b1c76df54c2568eac
parentjavagnutar (diff)
downloadaur-packages-38242a11ad03ee86d98e209ff2ad94c2f3d942d1.tar.gz
aur-packages-38242a11ad03ee86d98e209ff2ad94c2f3d942d1.tar.bz2
aur-packages-38242a11ad03ee86d98e209ff2ad94c2f3d942d1.tar.xz
adding xz-java (non-git)
-rw-r--r--xz-java/PKGBUILD27
-rw-r--r--xz-java/xz-java-1.1.tar.xzbin0 -> 53148 bytes
2 files changed, 27 insertions, 0 deletions
diff --git a/xz-java/PKGBUILD b/xz-java/PKGBUILD
new file mode 100644
index 0000000..cd4d276
--- /dev/null
+++ b/xz-java/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Mattias Andrée <maandree@operamail.com>
+pkgname=xz-java
+pkgver=1.1
+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')
+provides=('xz-java')
+conflicts=('xz-java')
+source=(xz-java-1.1.tar.xz)
+md5sums=(dd4bdf088177b10c3bcb44efae05ad68)
+
+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/"
+}
diff --git a/xz-java/xz-java-1.1.tar.xz b/xz-java/xz-java-1.1.tar.xz
new file mode 100644
index 0000000..a9fa62b
--- /dev/null
+++ b/xz-java/xz-java-1.1.tar.xz
Binary files differ