-
Notifications
You must be signed in to change notification settings - Fork 1
/
PKGBUILD
41 lines (38 loc) · 1.35 KB
/
PKGBUILD
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
34
35
36
37
38
39
40
# Maintainer: Thanh Ha <thanh.ha at alumni.carleton dot ca>
# Contributor: Marcel Huber <marcelhuberfoo at gmail dot com>
#
# Repository: https://github.com/zxiiro/arch-gerrit
pkgname=gerrit
pkgver=2.8
pkgrel=1
epoch=
pkgdesc="A web-based code review tool built on top of the git version control system"
arch=(any)
url="http://code.google.com/p/gerrit/"
license=('Apache')
groups=()
depends=(java-runtime ttf-dejavu libcups)
makedepends=()
checkdepends=()
optdepends=('bcprov: Java cryptography APIs (Bouncy Castle)')
provides=()
conflicts=()
replaces=()
backup=(etc/default/gerritcodereview)
options=()
install=gerrit.install
changelog=changelog
source=(gerrit.war::http://gerrit-releases.storage.googleapis.com/gerrit-$pkgver.war
gerrit.conf
gerrit.systemd)
noextract=(gerrit.war)
sha256sums=('a08daff2ae9b942bb3068f273977952578f5065c7c49fb0d4b2e2d8d1e901e76'
'35becf2754e3779c750b2889909349160c2b0584ec201f6cfb5cf2c42e6fc598'
'be1d205c6a0f3b24aad3c385f8188c64bfa3a9799ecf8ce5e089149af991a645')
package() {
install -D -m 444 "$srcdir/gerrit.war" "$pkgdir/usr/share/java/gerrit/gerrit.war"
install -D -m 644 "$srcdir/gerrit.systemd" "$pkgdir/usr/lib/systemd/system/gerrit.service"
install -D -m 644 "$srcdir/gerrit.conf" "$pkgdir/etc/default/gerritcodereview"
install -m 755 -d "$pkgdir/var/lib/gerrit"
}
# vim:set ts=2 sw=2 et: