updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / jetty / PKGBUILD
blobe952cc52b7da90f73f6df3e860d2676b92274e64
1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
3 _timestamp=v20111024
4 pkgname=jetty
5 pkgver=8.0.4
6 pkgrel=1
7 pkgdesc="A full-fledged production-grade lightweight Java Servlet Container"
8 arch=('i686' 'x86_64')
9 url="http://jetty.codehaus.org/jetty/"
10 license=('Apache' 'EPL')
11 depends=('java-runtime')
12 source=(http://dist.codehaus.org/${pkgname}/${pkgname}-hightide-${pkgver}/${pkgname}-hightide-${pkgver}.${_timestamp}.tar.gz
13                 rc.$pkgname $pkgname.conf.d)
14 options=(!strip)
16 build() {
17         _foldername=${pkgname}-hightide-${pkgver}.${_timestamp}
19         rm -r $srcdir/${_foldername}/bin/*cygwin*
22 package() {
23         _foldername=${pkgname}-hightide-${pkgver}.${_timestamp}
25         mkdir -p $pkgdir/opt
26         cp -a $srcdir/${_foldername} $pkgdir/opt/$pkgname
27         install -D -m755 $srcdir/rc.$pkgname $pkgdir/etc/rc.d/$pkgname
28         install -D -m644 $srcdir/$pkgname.conf.d $pkgdir/etc/conf.d/$pkgname
31 md5sums=('b878170caac1d9aea589d48e0995390a'
32          'a912afd9817f5c9675e9932971fb689a'
33          'a191d0246f97a314355cbcfd5c74d6a6')
34 sha256sums=('81b9a277c920c97cf94aabc3184bb262936221516c1031f34adda8aab7091055'
35             'ea81ec6274789b629a90f7a292ab98d36ff26762bb3df5339c95fda8aa685cd6'
36             '46b910aaa32277bcf30404ba0943562db9bbc56e74e69b08a6a17da07d2e42ba')