aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 806fb931b8c55..1b2afd1de6805 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 dbcae4c043753..6a3ef11b6d91a 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 2b393881fc96e..6c254a2840e3e 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"