summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 10b8f047602165fb0c38591582c3794c52ade167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>

pkgname=ggh-git
pkgver=r12.7e9d2c9
pkgrel=1
pkgdesc='Git Gerrit Helper'
arch=(any)
url='https://github.com/hobbs/ggh'
license=(unknown)
depends=(git bash)
makedepends=(git)
source=(git+https://github.com/hobbs/ggh.git)
sha512sums=('SKIP')

pkgver() {
  cd ggh
  echo r$(git rev-list --count master).$(git rev-parse --short master)
}

package() {
  cd ggh
  install -D -m755 ggh "$pkgdir"/usr/bin/ggh
}