summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec71ad92f4f1728f4aa6fc46fd28f52a9bc2bd14 (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
# Maintainer: gilzoide <gilzoide@gmail.com>

pkgname=hell-git
pkgver=r106.bac1099
pkgrel=1
pkgdesc="The Hell build system"
arch=('i686' 'x86_64')
url="https://github.com/gilzoide/hell"
license=("GPL3")
depends=('lua')
makedepends=('git')
source=("$pkgname"::'git://github.com/gilzoide/hell.git')
md5sums=('SKIP')

# Make pkg version as last commit date
pkgver () {
	cd "$pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build () {
	cd "$pkgname"
	make
}

package () {
	cd "$pkgname"
	make install prefix="${pkgdir}/usr"
}