aboutsummaryrefslogtreecommitdiff
path: root/system
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
parent729ec8075879f430a3ff61fecb228912046a0715 (diff)
system/winetricks: Updated for version 20120923.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/winetricks/README3
-rw-r--r--system/winetricks/winetricks.SlackBuild21
-rw-r--r--system/winetricks/winetricks.info4
3 files changed, 7 insertions, 21 deletions
diff --git a/system/winetricks/README b/system/winetricks/README
index 806fb931b8c5..1b2afd1de680 100644
--- a/system/winetricks/README
+++ b/system/winetricks/README
@@ -2,5 +2,4 @@ winetricks is a quick and dirty script to download and install
various redistributable runtime libraries sometimes needed to
run programs in Wine.
-This build script uses a snapshot script that was
-downloaded and is hosted by the script maintainer.
+This build script uses a snapshot of the winetricks script.
diff --git a/system/winetricks/winetricks.SlackBuild b/system/winetricks/winetricks.SlackBuild
index dbcae4c04375..6a3ef11b6d91 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
diff --git a/system/winetricks/winetricks.info b/system/winetricks/winetricks.info
index 2b393881fc96..6c254a2840e3 100644
--- a/system/winetricks/winetricks.info
+++ b/system/winetricks/winetricks.info
@@ -1,8 +1,8 @@
PRGNAM="winetricks"
VERSION="20110429"
HOMEPAGE="http://winetricks.org/"
-DOWNLOAD="http://www.ginoepri.com/linux/winetricks-20110429.tar.gz"
-MD5SUM="ba03214a70ee9fe67c56149d38faeedc"
+DOWNLOAD="ftp://harrier.slackbuilds.org/misc/winetricks-20120923.xz"
+MD5SUM="18e1cdf9cddd8df0cacb52106d5e3dd0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cabextract wine"