1 # Contributor: Yannick Poirier <contact@yannickpoirier.fr>
5 pkgdesc="TiniAnt is an extension to Ant that simplifies building applications for the TINI, in a cross-platform manner"
7 url="http://tiniant.sourceforge.net/"
10 depends=(apache-ant tini)
17 source=("http://prdownloads.sourceforge.net/tiniant/${pkgname}-1_2_0.tgz")
19 md5sums=(978e3f00ba62c6ee3a5c9942ef965312)
24 cd $srcdir/${pkgname}-1_2_0/ || return 1
27 install -v -d "$pkgdir/usr/share/java/apache-ant/lib" || return 1
28 install -v -d "$pkgdir/usr/share/$pkgname" || return 1
29 install -v -d "$pkgdir/usr/share/licenses/$pkgname" || return 1
31 install -D -m644 $srcdir/${pkgname}-${_pkgver}/lib/*.jar "$pkgdir/usr/share/java/apache-ant/lib/" || return 1
32 install -D -m644 $srcdir/${pkgname}-${_pkgver}/doc/copying/index.html "$pkgdir/usr/share/licenses/$pkgname" || return 1
34 cp -r $srcdir/${pkgname}-${_pkgver}/doc "$pkgdir/usr/share/$pkgname" || return 1
35 cp -r $srcdir/${pkgname}-${_pkgver}/examples "$pkgdir/usr/share/$pkgname" || return 1