summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD44
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..385f2e624ce
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Tue Mar 8 08:21:06 UTC 2016
+pkgbase = tudu-git
+ pkgdesc = ncurses-based hierarchical todo list manager with vim-like keybindings
+ pkgver = r399.f17bc26
+ pkgrel = 1
+ url = https://gitlab.com/tudu/tudu.git
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = gcc
+ depends = ncurses
+ provides = tudu
+ source = git+https://gitlab.com/tudu/tudu.git
+ md5sums = 9778d64973cd9dd7cf2225cd9af0cd09
+
+pkgname = tudu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c20794eb191
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Jenya Sovetkin <e dot sovetkin at gmail dot com>
+pkgname=tudu-git
+pkgver=r261.87f5b0b
+pkgrel=1
+pkgdesc="ncurses-based hierarchical todo list manager with vim-like keybindings"
+arch=('i686' 'x86_64')
+url="https://gitlab.com/tudu/tudu.git"
+license=('GPL')
+depends=('ncurses')
+makedepends=('git' 'gcc')
+provides=(tudu)
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+source=('git+https://gitlab.com/tudu/tudu.git')
+noextract=()
+md5sums=('SKIP')
+
+_gitname=tudu
+
+pkgver() {
+ cd "${srcdir}/${_gitname}"
+
+ # Get the version number.
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build () {
+ cd "$srcdir/$_gitname"
+
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+
+ make DESTDIR=$pkgdir install
+ install -vDm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: