| 1 | # Contributor: Guy Godfroy <[email protected]> |
| 2 | # Maintainer: Guy Godfroy <[email protected]> |
| 3 | pkgname=git-quick-stats |
| 4 | pkgver=2.11.0 |
| 5 | pkgrel=0 |
| 6 | pkgdesc="Access various statistics in git repository" |
| 7 | url="https://git-quick-stats.sh" |
| 8 | arch="noarch" |
| 9 | license="MIT" |
| 10 | depends="bash git util-linux ncurses coreutils" |
| 11 | subpackages="$pkgname-doc" |
| 12 | source="$pkgname-$pkgver.tar.gz::https://github.com/arzzen/git-quick-stats/archive/refs/tags/$pkgver.tar.gz" |
| 13 | |
| 14 | check() { |
| 15 | export TERM=xterm-256color # without that it fails in ci/cd |
| 16 | bash tests/commands_test.sh |
| 17 | } |
| 18 | |
| 19 | package() { |
| 20 | install -Dm0755 git-quick-stats -t "$pkgdir"/usr/bin/ |
| 21 | install -Dm0644 git-quick-stats.1 -t "$pkgdir"/usr/share/man/man1/ |
| 22 | } |
| 23 | |
| 24 | sha512sums=" |
| 25 | 3c70e96635e6a915ee2f679eb70e762ce8d8a7d5f6432c3561fd4eb24b6950c03784eb4e369852d3442a1f2c3a50e2d85af8d8eb3ab26f3085adbee1c5b532c6 git-quick-stats-2.11.0.tar.gz |
| 26 | " |