blob: dde78f75267bacfb707507afae2189780138c7b9 (
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
27
|
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=git-related
pkgver=0.4+1.ge5c35509d2
pkgrel=1
pkgdesc='Find related people and commits on a set of changes'
arch=('any')
url="https://github.com/felipec/git-related"
source=("git+$url")
md5sums=('SKIP')
makedepends=('asciidoc')
pkgver() {
cd "${srcdir}/git-related"
git describe --tags --abbrev=10 HEAD |
sed 's/^v//; s/-/+/; s/-/./'
}
build() {
cd "${srcdir}/git-related"
make doc/git-related.1
}
package() {
install -Dm755 "${srcdir}/git-related/git-related" "${pkgdir}/usr/bin/git-related"
install -Dm755 "${srcdir}/git-related/doc/git-related.1" "${pkgdir}/usr/share/man/man1/git-related.1"
}
|