1 # Maintainer: Szymon Jakubczak <s.jakubczak@gmail.com>
5 pkgdesc="A Groovy-based build system that uses Ant tasks, but no XML"
8 depends=('groovy>=1.7.3', 'apache-ant')
10 url='http://gant.codehaus.org'
11 #install='gant.install'
12 source=('http://dist.codehaus.org/gant/distributions/gant-1.9.3-_groovy-1.7.3.tgz'
14 md5sums=('4a56ef11a7e7beaadbce59fe8510ef5b'
15 '460e2e9ae8006fe8ea023c0d26d9440b')
17 _optdir=${pkgdir}/opt/${pkgname}
18 _profiledir=${pkgdir}/etc/profile.d
21 cd "${srcdir}/gant-1.9.3"
23 _optdir="${pkgdir}/opt/${pkgname}"
25 # create the necessary directory structure
26 mkdir -p "${_optdir}/bin"
27 mkdir -p "${_optdir}/lib"
28 mkdir -p "${_optdir}/conf"
30 install -m755 bin/gant "${_optdir}/bin" || return 1
31 install -Dm644 lib/*.jar "${_optdir}/lib" || return 1
32 install -Dm644 conf/*.conf "${_optdir}/conf" || return 1
34 mkdir -p ${_profiledir}
35 install -m755 ${srcdir}/gant.sh ${_profiledir}/