summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 094f0b40f1761b97adef160a7aba30b996419d69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Terin Stock <terinjokes@gmail.com>

pkgname=topgit
pkgver=0.19.12
pkgrel=1
pkgdesc="A different patch queue manager"
url="https://github.com/mackyle/topgit"
arch=('any')
license=('GPL2')
depends=('gawk' 'bash')
makedepends=()
source=(
  "https://github.com/mackyle/topgit/archive/topgit-${pkgver}.tar.gz"
)
sha256sums=('104eaf5b33bdc738a63603c4a661aab33fc59a5b8e3bb3bc58af7e4fc2d031da')

package() {
  cd "${pkgname}-topgit-${pkgver}" || exit 1
  make prefix=/usr cmddir=/usr/lib/topgit DESTDIR="${pkgdir}" install

  install -D -m644 contrib/tg-completion.bash "${pkgdir}/usr/share/bash-completion/completions/tg"
}