summaryrefslogtreecommitdiff
path: root/network/sieve-connect/sieve-connect.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/sieve-connect/sieve-connect.SlackBuild')
-rw-r--r--network/sieve-connect/sieve-connect.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/network/sieve-connect/sieve-connect.SlackBuild b/network/sieve-connect/sieve-connect.SlackBuild
index bd89979326..b582790c7f 100644
--- a/network/sieve-connect/sieve-connect.SlackBuild
+++ b/network/sieve-connect/sieve-connect.SlackBuild
@@ -28,7 +28,7 @@
# Build script for sieve-connect
PRGNAM=sieve-connect
-VERSION=0.86
+VERSION=${VERSION:-0.87}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,14 +49,14 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch < $CWD/patches/00-Makefile_DESTDIR.diff
make
-make install DESTDIR=$PKG
+mkdir -p $PKG/usr/bin $PKG/usr/man/man1
+make install PREFIX=/usr INSTALLROOT=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;