summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD23
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..2a96c56087c9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = todoscript-git
+ pkgdesc = a good looking todoscript
+ pkgver = r9.72ea302
+ pkgrel = 1
+ url = https://github.com/BaerLKR/todoscript
+ arch = x86_64
+ license = EUPL
+ makedepends = git
+ depends = bash
+ source = git+https://github.com/BaerLKR/todoscript.git
+ md5sums = SKIP
+
+pkgname = todoscript-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..1deff5eb836d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Lovis Rentsch <aur@lovirent.eu>
+pkgname='todoscript-git'
+pkgver=r9.72ea302
+pkgrel=1
+pkgdesc="a good looking todoscript"
+arch=('x86_64')
+url="https://github.com/BaerLKR/todoscript"
+license=('EUPL')
+depends=(bash)
+makedepends=(git)
+source=(git+"https://github.com/BaerLKR/todoscript.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "todoscript"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ mkdir -p ${pkgdir}/usr/bin/todo
+ cp "${srcdir}/todoscript/todoscript.sh" "${pkgdir}/usr/bin/"
+ chmod +x "${pkgdir}/usr/bin/todoscript.sh"
+}