summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/task/slack-desc12
-rw-r--r--office/task/task.SlackBuild14
-rw-r--r--office/task/task.info6
3 files changed, 16 insertions, 16 deletions
diff --git a/office/task/slack-desc b/office/task/slack-desc
index ed50d13ce0..a422ef69e8 100644
--- a/office/task/slack-desc
+++ b/office/task/slack-desc
@@ -1,9 +1,9 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
task: task (command-line todo list manager)
@@ -14,6 +14,6 @@ task: allowing you to add/remove, and otherwise manipulate them.
task: Task has a rich list of subcommands that allow you to do
task: sophisticated things with it.
task:
+task: Home: http://www.taskwarrior.org
task:
task:
-task: Home: http://www.taskwarrior.org
diff --git a/office/task/task.SlackBuild b/office/task/task.SlackBuild
index 7b99506b86..8588b68b8d 100644
--- a/office/task/task.SlackBuild
+++ b/office/task/task.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=task
-VERSION=${VERSION:-2.1.2}
+VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,11 +52,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Build
+sed -i CMakeLists.txt \
+ -e "s,share/man/man1,man/man1," \
+ -e "s,share/man/man5,man/man5," \
+ -e "s,share/doc/task,doc/$PRGNAM-$VERSION,"
+
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_PREFIX=/usr
make clean
make
@@ -65,11 +69,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
-find $PKG -depth -type d -empty -delete || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING INSTALL NEWS README \
@@ -81,4 +82,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
diff --git a/office/task/task.info b/office/task/task.info
index 5737345ed1..859673132f 100644
--- a/office/task/task.info
+++ b/office/task/task.info
@@ -1,8 +1,8 @@
PRGNAM="task"
-VERSION="2.1.2"
+VERSION="2.2.0"
HOMEPAGE="http://www.taskwarrior.org"
-DOWNLOAD="http://www.taskwarrior.org/download/task-2.1.2.tar.gz"
-MD5SUM="ff0c712a18a47f79787b971b8d1ff207"
+DOWNLOAD="http://www.taskwarrior.org/download/task-2.2.0.tar.gz"
+MD5SUM="eb5af01b51b90e01b574464a5d11d4e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"