updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / groovyserv / PKGBUILD
blobb47136a4d597666bd1684b8c8a13830c3c19f8b4
1 # Maintainer: Jan Ahrens <jan dot ahrens at googlemail dot com>
2 pkgname=groovyserv
3 pkgver=0.6
4 pkgrel=1
5 pkgdesc="GroovyServ makes Groovy's startup time much faster, by pre-invoking Groovy as a server."
6 arch=(i686 x86_64)
7 url="http://kobo.github.com/groovyserv/index.html"
8 license=('apache-ant')
9 depends=('groovy')
10 makedepends=('maven')
11 source=(https://github.com/downloads/kobo/groovyserv/$pkgname-$pkgver-src.zip)
12 md5sums=('3ac9775fdad7244321b69f7c7d5cbff7')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
16   mvn clean verify
19 package() {
20   cd "${srcdir}/${pkgname}-${pkgver}"
22   mkdir -p "${pkgdir}/opt/${pkgname}"
23   cp -a target/${pkgname}-${pkgver}.dir/${pkgname}-${pkgver}/* ${pkgdir}/opt/${pkgname}/
25   # hopefully we don't need cmd.exe, so remove the .bat-file
26   rm ${pkgdir}/opt/groovyserv/bin/groovyserver.bat
29 # vim:set ts=2 sw=2 et: