summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Nagy2015-06-08 19:41:52 +0200
committerDaniel Nagy2015-06-08 19:41:52 +0200
commit99f4ed1439ea0fb6f38b7324e5e066c714c551eb (patch)
treefeb53113227c6bb0e5ee42555dfa0ff0d7cc1638 /PKGBUILD
downloadaur-99f4ed1439ea0fb6f38b7324e5e066c714c551eb.tar.gz
import to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ab4b78a9e6d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Daniel Nagy <danielnagy at gmx de>
+# Contributor: 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.11
+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=(http://gerrit-releases.storage.googleapis.com/gerrit-$pkgver.war
+ gerrit.conf
+ gerrit.systemd)
+noextract=(gerrit.war)
+sha256sums=('05c155c454f06c324e89863e6c6a9c814833c7caea7b38f6c9b360336b30b96d'
+ '35becf2754e3779c750b2889909349160c2b0584ec201f6cfb5cf2c42e6fc598'
+ 'be1d205c6a0f3b24aad3c385f8188c64bfa3a9799ecf8ce5e089149af991a645')
+package() {
+ install -D -m 444 "$srcdir/gerrit-$pkgver.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:
+