summaryrefslogtreecommitdiff
path: root/system/winetricks/winetricks.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-24 08:02:50 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-23 22:37:14 -0500
commit60159b2e830095583b5f9664309c689a019919e9 (patch)
treedb7d16fc7ef67664b16c9d97b0b1f3f391410ab1 /system/winetricks/winetricks.SlackBuild
parent729ec8075879f430a3ff61fecb228912046a0715 (diff)
downloadslackbuilds-60159b2e830095583b5f9664309c689a019919e9.tar.gz
system/winetricks: Updated for version 20120923.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/winetricks/winetricks.SlackBuild')
-rw-r--r--system/winetricks/winetricks.SlackBuild21
1 files changed, 4 insertions, 17 deletions
diff --git a/system/winetricks/winetricks.SlackBuild b/system/winetricks/winetricks.SlackBuild
index dbcae4c043..6a3ef11b6d 100644
--- a/system/winetricks/winetricks.SlackBuild
+++ b/system/winetricks/winetricks.SlackBuild
@@ -23,11 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=winetricks
-VERSION=${VERSION:-20110429}
+VERSION=${VERSION:-20120923}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# No flags/configure needed because it is writen in shell script programing language.
ARCH=noarch
CWD=$(pwd)
@@ -38,24 +37,12 @@ OUTPUT=${OUTPUT:-/tmp}
set -e # Exit on most errors
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \;
+mkdir -p $PKG $OUTPUT
-# Simple copy script program
mkdir -p $PKG/usr/bin
-chmod 0755 $PRGNAM
-cp -a $PRGNAM $PKG/usr/bin
+xzcat $CWD/$PRGNAM-$VERSION.xz > $PKG/usr/bin/$PRGNAM
+chmod 0755 $PKG/usr/bin/$PRGNAM
-# Copy documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild