summaryrefslogtreecommitdiff
path: root/system/winetricks
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-04-05 21:42:20 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-12 10:07:02 +0700
commita889f622456d2765f2f6b3325370c9e9061202db (patch)
tree82ce22475914e3decc25ff6f661e03de6232b7f9 /system/winetricks
parentdee20f5e5c7ee47f4c1239bd66454064d8204b78 (diff)
downloadslackbuilds-a889f622456d2765f2f6b3325370c9e9061202db.tar.gz
system/winetricks: Updated for version 20150331.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'system/winetricks')
-rw-r--r--system/winetricks/winetricks.SlackBuild32
-rw-r--r--system/winetricks/winetricks.info6
2 files changed, 29 insertions, 9 deletions
diff --git a/system/winetricks/winetricks.SlackBuild b/system/winetricks/winetricks.SlackBuild
index 60878f32e8..79ca79beea 100644
--- a/system/winetricks/winetricks.SlackBuild
+++ b/system/winetricks/winetricks.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=winetricks
-VERSION=${VERSION:-20141130}
+VERSION=${VERSION:-20150331}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,18 +36,38 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+DOCS="README Makefile tests/* src/*.sh src/COPYING"
+
+set -e
rm -rf $PKG
-mkdir -p $PKG $OUTPUT
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+if [ -e $CWD/$VERSION.tar.gz ]; then
+ tar xvf $CWD/$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
+cd $PRGNAM-$VERSION
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/bin
-xzcat $CWD/$PRGNAM-$VERSION.xz > $PKG/usr/bin/$PRGNAM
+mkdir -p $PKG/usr/bin/
+cp src/$PRGNAM $PKG/usr/bin/
chmod 0755 $PKG/usr/bin/$PRGNAM
+mkdir -p $PKG/usr/man/man1/
+cp src/$PRGNAM.1 $PKG/usr/man/man1/
+find $PKG/usr/man -type f -exec gzip -9 '{}' \;
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/system/winetricks/winetricks.info b/system/winetricks/winetricks.info
index f4a7b9e164..9d33a29d2e 100644
--- a/system/winetricks/winetricks.info
+++ b/system/winetricks/winetricks.info
@@ -1,8 +1,8 @@
PRGNAM="winetricks"
-VERSION="20141130"
+VERSION="20150331"
HOMEPAGE="http://winetricks.org/"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/winetricks/winetricks-20141130.xz"
-MD5SUM="b8fe4c787f166875c1ca88a77385e62b"
+DOWNLOAD="https://github.com/Winetricks/winetricks/archive/20150331.tar.gz"
+MD5SUM="ff2a9c68a35973c7432ccd011c965555"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cabextract wine"