summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2966326b218a0ff0e4eedc55e7115119b5597d58 (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: Michael Heap <m@michaelheap.com>
pkgname=git-rook
pkgver=0.0.1
pkgrel=1
pkgdesc="A git hook runner that can be used to execute multiple hooks in a git repository."
arch=('any')
url="https://github.com/mtdowling/git-rook"
license=('MIT')
depends=('git')
source=("$pkgname-$pkgver::https://github.com/mtdowling/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('bc1bdea1c9a9d6e4b104294f4527ef705080cc821b1e0ff5df025ba3e1d30a2a')

check() {
	cd "$pkgname-$pkgver"
	make test
}

package() {
	cd "$pkgname-$pkgver"
	install -Dm755 git-rook "$pkgdir/usr/bin/git-rook"
	install -Dm644 git-rook.1 "$pkgdir/usr/share/man/man1/git-rook.1"
	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}