From e465ac617660915c1008e42f3d611048ac8258cf Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 31 Oct 2014 14:49:32 +0000 Subject: git package pkgver bump --- PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..539f73d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} -- cgit v1.2.3-70-g09d2