aboutsummaryrefslogtreecommitdiff
path: root/system/dar/dar.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2011-10-30 23:18:00 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-30 23:18:00 -0200
commiteda9f7b6afef467eea0f45fe1b45aefc2e0bd873 (patch)
tree55d8aa7880dc32f0e64808986bbad6c2f87c3058 /system/dar/dar.SlackBuild
parent512eed69fc018f833b8dd9690c4218daefe6a3aa (diff)
system/dar: Updated for version 2.4.2.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/dar/dar.SlackBuild')
-rw-r--r--system/dar/dar.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/dar/dar.SlackBuild b/system/dar/dar.SlackBuild
index 4a4d43790f25..a50ee10a1dee 100644
--- a/system/dar/dar.SlackBuild
+++ b/system/dar/dar.SlackBuild
@@ -30,16 +30,14 @@
# No additional license terms added :-)
PRGNAM="dar"
-VERSION=${VERSION:-2.3.11}
+VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -63,7 +61,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -fr $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -100,6 +98,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+mv $PKG/etc/darrc $PKG/etc/darrc.new
+
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO THANKS \
@@ -109,6 +109,7 @@ chown -R root:root $PKG/usr/doc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}