updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / apache-ivy / PKGBUILD
blobf9e510b834e13bc57a5e864d40288edcbc46a5b7
1 # Contributor: Vitaliy Berdinskikh ur6lad[at]archlinux.org.ua
3 pkgname=apache-ivy
4 pkgver=2.2.0
5 pkgrel=2
6 pkgdesc="The agile dependency manager"
7 arch=('i686' 'x86_64')
8 url="http://ant.apache.org/ivy/"
9 license=('APACHE')
10 depends=('apache-ant-devel')
11 source=(http://www.eu.apache.org/dist/ant/ivy/${pkgver}/${pkgname}-${pkgver//_/-}-bin.tar.gz ivy-bin)
13 package() {
14         mkdir -p ${pkgdir}/usr/{bin,share/java/apache-ivy,share/java/apache-ant}
15         mkdir -p ${pkgdir}/usr/share/licenses/apache-ant
17         cd ${srcdir}
19         install -m 644 ${pkgname}-${pkgver}/ivy-${pkgver}.jar $pkgdir/usr/share/java/apache-ivy
20         install -m 755 ivy-bin $pkgdir/usr/bin/ivy
22         ln -s ivy-${pkgver}.jar ${pkgdir}/usr/share/java/apache-ivy/ivy.jar
23         ln -s ../apache-ivy/ivy-${pkgver}.jar ${pkgdir}/usr/share/java/apache-ant/ivy.jar
26 md5sums=('80d87a17006518a762ceeb88b692cbe6'
27          '083e4ef812f5f7f0e292df6f32fec441')
28 sha256sums=('ff1e40094a4e65878efd1a31589b492752b7f18c810839db3119dbf296086d69'
29             '0d4da5947f2f75c42ec576db2bc37921f90d7eccb9a8c000e126d1edf25b32e0')