blob: e556979ac0794c83da78738afad967c1aa98d87c (
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
|
# Maintainer: Tekato <takutekato2@gmail.com>
pkgname=git-when-merged-git
pkgver=v1.2.1.r0.67278dc
pkgrel=1
arch=('any')
pkgdesc="Determine when a particular commit was merged into a git branch"
url="https://github.com/mhagger/git-when-merged"
license=('GPL2')
depends=('git' 'python')
source=("${pkgname}::git+https://github.com/mhagger/git-when-merged.git")
cksums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
package() {
cd "${srcdir}/$pkgname"
install -D bin/git-when-merged "$pkgdir/usr/bin/git-when-merged"
}
|