summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f0eac18f79290e73453a89c05a4d33ffdb149af7 (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
31
32
33
34
35
36
37
38
39
40
Maintainer="Barış İnandıoğlu"
pkgname=barley
pkgver=r32.5e864b2
pkgrel=1
epoch=
pkgdesc="A cli that shows a GitHub-like language usage statistics bar."
arch=(x86_64)
url="https://github.com/baris-inandi/barley"
license=('GPLv2')
groups=()
depends=()
makedepends=(git go)
checkdepends=()
optdepends=()
provides=(barley)
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+$url")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

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

build() {
	cd $pkgname
	make
}

package() {
	cd $pkgname
	make install
}