updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / svnant / PKGBUILD
blob9a29344f559070e90b58f21fb7429d730b0d4a95
1 # Contributor : Christopher Schwaab -- christopher.schwaab gmail
2 pkgname=svnant
3 pkgver=1.3.1
4 pkgrel=1
5 pkgdesc="An ant task that provides an interface to Subversion revision control system."
6 arch=(any)
7 url="http://subclipse.tigris.org/svnant.html"
8 license=('apache' 'custom')
9 source=("http://subclipse.tigris.org/files/documents/906/49042/$pkgname-$pkgver.zip")
10 md5sums=('78bcff3a08aa93b0f255ebe7264abcd7')
11 depends=('apache-ant')
12 provides=('svnkit')
13 conflicts=('svnkit')
15 build() {
16         _anthome=$ANT_HOME
17         [ -z "$_anthome" ] && _anthome=/usr/share/java/apache-ant
19         cd $srcdir/
20         mkdir -p $pkgdir/$_anthome/lib \
21                  $pkgdir/usr/share/licenses/svnant
22         install -m644 lib/{ganymed,jna,svnant,svnClientAdapter,svnkit,svnjavahl}.jar $pkgdir/$_anthome/lib/
23         install -m644 lib/{GANYMED,JNA,SVNCLIENTADAPTER,SVNKit,JAVAHL}-LICENSE $pkgdir/usr/share/licenses/svnant