updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / tiniant / PKGBUILD
blob8c7159a9921ea80328c91253c02e53c5b112925a
1 # Contributor: Yannick Poirier <contact@yannickpoirier.fr>
2 pkgname=tiniant
3 pkgver=1.2.0
4 pkgrel=4
5 pkgdesc="TiniAnt is an extension to Ant that simplifies building applications for the TINI, in a cross-platform manner"
6 arch=('i686')
7 url="http://tiniant.sourceforge.net/"
8 license=("TiniAnt")
9 groups=()
10 depends=(apache-ant tini)
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 install=
17 source=("http://prdownloads.sourceforge.net/tiniant/${pkgname}-1_2_0.tgz")
18 noextract=()
19 md5sums=(978e3f00ba62c6ee3a5c9942ef965312) 
21 _pkgver=1_2_0
23 build() {
24         cd $srcdir/${pkgname}-1_2_0/ || return 1
25         ant || 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