summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 841c2caaecf4de087f2f2a9f28e6578cbf2f33bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: kaptoxic yahoo com

pkgname=apache-ant-maven-tasks
pkgver=2.1.3
pkgrel=4
pkgdesc="Maven Ant Tasks"
url="http://maven.apache.org/ant-tasks/download.html"
arch=('any')
license=('Apache')
depends=('apache-ant')
# The source zip file won't extract so we download the pre-built binary instead.
source=("http://archive.apache.org/dist/maven/ant-tasks/${pkgver}/binaries/maven-ant-tasks-${pkgver}.jar")
md5sums=('7ce48382d1aa4138027a58ec2f29beda')

package() {
  cd "$srcdir"
  
  install -d "$pkgdir/usr/share/java/apache-ant"
  
  install -m644 "maven-ant-tasks-${pkgver}.jar" "$pkgdir/usr/share/java/apache-ant"
  ln -s "apache-ant/maven-ant-tasks-${pkgver}.jar" "$pkgdir/usr/share/java/maven-ant-tasks.jar"
}