summaryrefslogtreecommitdiff
path: root/task/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2010-11-15 18:29:53 +0100
committerJuergen Daubert <jue@jue.li>2010-11-15 18:29:53 +0100
commitac0be9c182cfc73fb8e19b13ada1adeaee44fc8e (patch)
tree134ebbf5cf66d09ff98a26ffd1bb34756bdc8cc8 /task/Pkgfile
parent496299cd4abf5cfe326a2688e86633622f018732 (diff)
downloadopt-ac0be9c182cfc73fb8e19b13ada1adeaee44fc8e.tar.gz
opt-ac0be9c182cfc73fb8e19b13ada1adeaee44fc8e.tar.xz
task: initial release
Diffstat (limited to 'task/Pkgfile')
-rw-r--r--task/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/task/Pkgfile b/task/Pkgfile
new file mode 100644
index 000000000..c406eaf39
--- /dev/null
+++ b/task/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Powerful task manager for the command-line
+# URL: http://taskwarrior.org/projects/show/taskwarrior/
+# Maintainer: Juergen Daubert, jue at crux dot nu
+
+name=task
+version=1.9.3
+release=1
+source=(http://www.taskwarrior.org/download/$name-$version.tar.gz)
+
+build () {
+ cd $name-$version
+
+ sed -i 's|local/share/doc|share|' src/Config.cpp
+ sed -i 's/-O3//' configure
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/man \
+ --docdir=/usr/share/task
+
+ make CFLAGS="$CFLAGS"
+ make DESTDIR=$PKG install
+
+ rm -r $PKG/usr/share/task/i18n
+ rm $PKG/usr/share/task/{AUTHORS,COPYING,ChangeLog,NEWS,README}
+ rm $PKG/usr/share/task/scripts/vim/README
+}

Generated by cgit