diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-07-10 14:11:33 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-07-10 14:11:33 +0200 |
commit | f85ad860321aa3cf7bd3882b31bab8c586cf983d (patch) | |
tree | 15cfe2411b4b23dc8a22f72b287bacac5a18c486 /javagnutar/PKGBUILD | |
parent | m (diff) | |
download | aur-packages-f85ad860321aa3cf7bd3882b31bab8c586cf983d.tar.gz aur-packages-f85ad860321aa3cf7bd3882b31bab8c586cf983d.tar.bz2 aur-packages-f85ad860321aa3cf7bd3882b31bab8c586cf983d.tar.xz |
javagnutar
Diffstat (limited to 'javagnutar/PKGBUILD')
-rw-r--r-- | javagnutar/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/javagnutar/PKGBUILD b/javagnutar/PKGBUILD new file mode 100644 index 0000000..6867dad --- /dev/null +++ b/javagnutar/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Mattias Andrée <maandree@operamail.com> +pkgname=javagnutar +pkgver=1.1.4 +pkgrel=1 +pkgdesc="Java library for GNU Tar archives" +arch=('any') +url="http://code.google.com/p/javagnutar/" +license=('Apache') +depends=('java-runtime>=1.5') +makedepends=('unzip' 'wget') + +_url="http://javagnutar.googlecode.com/files/javagnutar-1.1.4.zip" + +build() { + cd "$srcdir" + wget "$_url" + unzip javagnutar-1.1.4.zip +} + +package() { + cd "$srcdir/" + install -d "$pkgdir/usr/lib/" + install -m 755 activation.jar "$pkgdir/usr/lib/" + install -m 755 javagnutar.jar "$pkgdir/usr/lib/" +} |