summaryrefslogtreecommitdiff
path: root/system/freedup/freedup.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/freedup/freedup.SlackBuild')
-rw-r--r--system/freedup/freedup.SlackBuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/system/freedup/freedup.SlackBuild b/system/freedup/freedup.SlackBuild
index 720249161d..8b06bcd082 100644
--- a/system/freedup/freedup.SlackBuild
+++ b/system/freedup/freedup.SlackBuild
@@ -23,12 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=freedup
-VERSION=${VERSION:-1.6.2}
+VERSION=${VERSION:-1.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ALTVER=${ALTVER:-1.6}
-SRCVERSION=${SRCVERSION:-1.6-2-src}
+ALTVER=${ALTVER:-1.6-3}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -62,26 +61,27 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2
-mv $PRGNAM-$ALTVER $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$ALTVER
+tar xvf $CWD/$PRGNAM-$ALTVER-src.tar.bz2
+cd $PRGNAM-$ALTVER
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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
make -j1 DCOL=""
-make install PRE=$PKG MANPAGEDIR=$PKG/usr/man/
+make install MANDIR=/usr/man/ DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+chmod -x $PKG/usr/man/man1/*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README TODO html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild