summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1eedf9f91aa6d6cdeedde4c282b087580579a7b1 (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
28
29
30
# Maintainer: Daniel Nagy <danielnagy@posteo.de>
pkgname=bugit-git
pkgver=r82.381a3e8
pkgrel=1
pkgdesc="BuGit: File-less distributed bug tracking system with Git"
arch=('any')
url="https://gitlab.com/monnier/bugit"
license=('GPL3')
groups=()
depends=("git" "markdown")
makedepends=("git")
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=('git+https://gitlab.com/monnier/bugit')
noextract=()
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	  cd "$srcdir/${pkgname%-git}"
    install -D -m755 bugit "$pkgdir"/usr/bin/bugit
}