aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-31 14:49:32 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:43 +0200
commite465ac617660915c1008e42f3d611048ac8258cf (patch)
tree61280d1016227bee50b05a4e95495d45bfd569e9
downloadpkgbuilds-archtk-timer.tar.xz
git package pkgver bumparchtk-timer
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..ae233ea
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 15:02:09 UTC 2015
+pkgbase = archtk-timer
+ pkgdesc = Useless timer
+ pkgver = 0
+ pkgrel = 1
+ url = https://github.com/EliteTK/c-stuff
+ arch = i686
+ arch = x86_64
+ license = GPL
+ source = git+https://github.com/EliteTK/c-stuff.git
+ md5sums = SKIP
+
+pkgname = archtk-timer
+
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
+}