summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f91be0fc4d1ccbfd474e130b246637f34743ddc3 (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
# Maintainr: Kevin Kuehler <keur@ocf.berkeley.edu>

pkgname='git-quick-stats'
pkgver='2.0.9'
pkgrel=1
pkgdesc='`git-quick-stats` is a simple and efficient way to access various statistics in git repository.'
arch=('x86_64')
url="https://github.com/arzzen/$pkgname"
license=('MIT')
depends=('git')
makedepends=()
provides=('git-quick-stats')
conflicts=('git-quick-stats')
source=("$pkgname::git+$url#tag=$pkgver")
sha256sums=('SKIP')

check() {
  cd "$srcdir/$pkgname"
  make test
}

package() {
  cd "$srcdir/$pkgname"
  make PREFIX="$pkgdir/usr" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}