summaryrefslogtreecommitdiff
path: root/office/task/task.SlackBuild
diff options
context:
space:
mode:
authorJostein Berntsen <jbernts@broadpark.no>2013-07-04 23:24:26 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2013-07-07 09:11:26 -0300
commit8edc65cff9e77e401f9d8a8615d038ce3c777c4e (patch)
treee2c0e67674e4a5f49b13369e3753f33137712d75 /office/task/task.SlackBuild
parent50d6ee75835d5829173d7869c699923428cdf66d (diff)
downloadslackbuilds-8edc65cff9e77e401f9d8a8615d038ce3c777c4e.tar.gz
office/task: Updated for version 2.2.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/task/task.SlackBuild')
-rw-r--r--office/task/task.SlackBuild14
1 files changed, 7 insertions, 7 deletions
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}
-