updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / args4j / PKGBUILD
blob3e2008a48aafb0f9d1617fe730985d61bf129dbd
1 # Contributor: Vitaliy Berdinskikh <skipper13@root.ua>
2 pkgname=args4j
3 pkgver=2.0.12
4 pkgrel=1
5 pkgdesc="Java command line options parser"
6 arch=('i686' 'x86_64')
7 url="https://args4j.dev.java.net/"
8 license="MIT"
9 groups=('javatools.dev.java.net')
10 depends=('java-runtime')
11 makedepends=('apache-ant')
12 source=(build.xml https://$pkgname.dev.java.net/files/documents/977/133854/$pkgname-$pkgver-src.tar.gz)
13 md5sums=('0a816d1996f0536dc96df2e1b6edf77d'
14          'a03f5dd1eb64a2b5cccd96d57b69cea8')
15 sha256sums=('597032e7078718ea4b0c99cddef2999aec5e692d3b9d7a148ea1ace814600bfb'
16             '5a6dd1362fae5d952feaad7fadb4a37470057d8cc2bfaad40f1ba7afcbe064ed')
18 build() {
19     cd $startdir/src/
20     ant -Dpkgver=${pkgver}
21     install -D -m 644 dist/$pkgname-$pkgver.jar $startdir/pkg/usr/share/java/$pkgname/$pkgname-$pkgver.jar
22     ln -s $pkgname-$pkgver.jar $startdir/pkg/usr/share/java/$pkgname/$pkgname.jar
23     install -D -m 644 $pkgname-$pkgver/LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt