summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bffee8d0dc8d607baed85239ce119a338821c596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer:  Vlad M. <vlad@archlinux.net>
# Contributor: Marcel Huber <marcelhuberfoo at gmail dott com>
# Contributor: Markus M. May <mmay AT javafreedom DOT org>
# Contributor: Yahya Mohajer < yaya_2013 At yahoo Dot com >

pkgname=hudson
pkgver=3.2.2
pkgrel=1
pkgdesc="Extensible continuous integration server"
arch=('any')
url="http://hudson-ci.org"
license=('EPL')
depends=('java-runtime'
         'ttf-dejavu'
         'libcups')
backup=('etc/conf.d/hudson')
install=hudson.install
source=("http://hudson-ci.org/downloads/war/$pkgname-$pkgver.war"
        'hudson.conf'
        'hudson.service'
        'hudson.tmpfiles.d')
sha256sums=('31d7a97d09118a06990e5a3c7a1e0f39131971c73f32f0efb4299b00bc10e3d1'
            '784a07d6d0cc2a1fd53114e765ccf44e022e9372c398bfacfa743e95eb7ddc40'
            '00a96b88bb9e98d14697e7e9eb443b0785f074eb1bbba207d3e7dd30d10ebbdf'
            'c61cbcf85c887379a605c1908b5474599b0fce25bd2f8dd567da3ace6a631b08')
noextract=("$pkgname-$pkgver.war")

package() {
  install -Dm444 "$srcdir/$pkgname-$pkgver.war" "$pkgdir/usr/share/java/hudson/hudson.war"
  install -Dm644 "$srcdir/hudson.service" "$pkgdir/usr/lib/systemd/system/hudson.service"
  install -Dm644 "$srcdir/hudson.tmpfiles.d" "$pkgdir/usr/lib/tmpfiles.d/hudson.conf"
  install -Dm644 "$srcdir/hudson.conf" "$pkgdir/etc/conf.d/hudson"
}