aboutsummaryrefslogtreecommitdiff
path: root/system/unetbootin/unetbootin.SlackBuild
diff options
context:
space:
mode:
authorJens Weber <jens@tuxane.com>2015-03-22 10:59:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-22 10:59:41 +0700
commitb3050bdf8aa08d6dec9c153334172aed6d3599a7 (patch)
tree9e21991fdbf58bf524e3fd1c78fadaac9504b38b /system/unetbootin/unetbootin.SlackBuild
parent02f664c35b178dd60af0ff646d429a1c4c6edd3c (diff)
system/unetbootin: Updated for version 608.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/unetbootin/unetbootin.SlackBuild')
-rw-r--r--system/unetbootin/unetbootin.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/unetbootin/unetbootin.SlackBuild b/system/unetbootin/unetbootin.SlackBuild
index 56dbe68d5aaaa..b5712bdc9cf38 100644
--- a/system/unetbootin/unetbootin.SlackBuild
+++ b/system/unetbootin/unetbootin.SlackBuild
@@ -5,10 +5,11 @@
# v575: (jw) updated version
# v581: (jw) update to version 581 11 Dec 2012
# v583: (jw) version bump to v583 22 Feb 2013
-# v585: (jw) version bump to v585 01 Feb 2014
+# v585: (jw) version bump to v 585 08 Apr 2014
+# v608: (jw) version bump to v 608 21 March 2015 (also tested on multilib 14.1)
PRGNAM=unetbootin
-VERSION=585
+VERSION=${VERSION:-608}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -25,6 +26,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+
if [ "$ARCH" = "i486" ]; then
LIBDIRSUFFIX=""
archname="i386"
@@ -45,15 +47,14 @@ PTMP=$TMP/$PRGNAM # convenience variable
rm -rf $PKG $PTMP
mkdir -p $TMP $PKG $OUTPUT $PTMP
-
cd $PTMP
tar xvf $CWD/${PRGNAM}-source-$(echo $VERSION).tar.gz
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 {} \;
lupdate unetbootin.pro
lrelease unetbootin.pro
@@ -90,7 +91,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.TXT INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.issues > $PKG/usr/doc/$PRGNAM-$VERSION/README.issues
-chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc