updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / java-asm / PKGBUILD
blob34145cda34fb66e0885c6c669563a90a559d2c01
1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
3 pkgname=java-asm
4 pkgver=3.3.1
5 pkgrel=2
6 pkgdesc="An all purpose Java bytecode manipulation and analysis framework"
7 arch=('any')
8 url="http://asm.ow2.org/"
9 license=('BSD')
10 depends=('java-runtime')
11 source=(http://download.forge.objectweb.org/asm/asm-${pkgver}-bin.zip LICENSE)
13 package() {
14         mkdir -p $pkgdir/usr/share/{java/asm,licenses/$pkgname}
16         cd $srcdir
18     install -m 644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname
20         cd asm-${pkgver}/lib
22     for i in *.jar; do
23         install -m 644 ${i} ${pkgdir}/usr/share/java/asm
24                 _tmpfilename=${i##*\/}
25                 ln -sf ${_tmpfilename} ${pkgdir}/usr/share/java/asm/${_tmpfilename/-[0-9]\.[0-9]\.[0-9]/}
26     done
29 md5sums=('b2169c2941e54c9b897a8bd00af3fdf6'
30          'de1a27d7c9e101090ae065f8fc643a0b')
31 sha256sums=('0f57e15cd09c07e2e68b696ece2142facee88a99762285f0bd8021fbb0087a4e'
32             'daa45cc0832746afadb8778c1155bb5ba9079da624803a4a6bc3429ea52e7523')