diff options
Diffstat (limited to 'system/dar/dar.SlackBuild')
-rw-r--r-- | system/dar/dar.SlackBuild | 9 |
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} |