summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c022ebaccdcbfc445a55267bb746a0d78ae8042 (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
# Maintainer: Breno Cunha Queiroz <breno1423@gmail.com>

pkgname=git-kudos
pkgver=1.0.0
pkgrel=1
pkgdesc="Print repo contributions and give authors their well-deserved kudos!"
arch=(x86_64)
url="https://github.com/brenocq/git-kudos"
license=('MIT')
depends=(cmake git)
source=(
    "$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
    "git-kudos::$url/releases/download/v$pkgver/git-kudos-linux-x86_64"
)
sha256sums=(
    'SKIP'
    'SKIP'
)

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -Dm755 "$srcdir/git-kudos" "$pkgdir/usr/bin/git-kudos"
  install -Dm644 completion/git-kudos.sh "$pkgdir/usr/share/bash-completion/completions/git-kudos"
  install -Dm644 completion/git-kudos.fish "$pkgdir/usr/share/fish/completions/git-kudos.fish"
  install -Dm644 completion/git-kudos.zsh "$pkgdir/usr/share/zsh/site-functions/_git-kudos"
}