1 # Contributor: Max Garmash <max.garmash@gmail.com>
6 pkgdesc="Java library and front-end (cockpit) for accessing Amazon Simple Storage Service (Amazon S3)"
8 url="http://bitbucket.org/jmurty/jets3t/wiki/Home"
10 depends=('java-runtime' 'mercurial' 'apache-ant')
12 optdepends=('java-jce_policy: enables stronger encryption')
14 md5sums=('030cdcfb38ea5fb68262fba543aae75b')
18 hg clone https://bitbucket.org/jmurty/jets3t
21 mkdir -p $pkgdir/usr/share/java/$pkgname
22 rm $srcdir/jets3t/dist/jets3t-$pkgver-dev/bin/*.bat
23 chmod 755 $srcdir/jets3t/dist/jets3t-$pkgver-dev/bin/*.sh
24 cp -a $srcdir/jets3t/dist/jets3t-$pkgver-dev/* $pkgdir/usr/share/java/$pkgname/
26 install -D -m 755 $srcdir/jets3t/dist/jets3t-$pkgver-dev/bin/cockpit.sh $pkgdir/usr/bin/cockpit
27 install -D -m 755 $srcdir/jets3t/dist/jets3t-$pkgver-dev/bin/cockpitlite.sh $pkgdir/usr/bin/cockpitlite
28 install -D -m 755 $srcdir/jets3t.sh $pkgdir/etc/profile.d/jets3t.sh