aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 539f73dfa1ae18d49ecbfaca2be5af9a83fa54bf (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
pkgname=archtk-timer
pkgver=0
pkgrel=1

pkgdesc="Useless timer"
url="https://github.com/EliteTK/c-stuff"
arch=('i686' 'x86_64')
license=('GPL')

source=("git+https://github.com/EliteTK/c-stuff.git")

md5sums=('SKIP')

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

build() {
	make -C c-stuff timer
}

package() {
	install -Dm755 c-stuff/timer "$pkgdir"/usr/bin/timer
}