summaryrefslogtreecommitdiff
path: root/system/wacomtablet
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-08 07:09:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-08 07:10:49 +0700
commit32ef2f765335cb6755a2a6d57858d1b78f57912a (patch)
treec4e82728d36824237cf3b33074d1b536c85b1a24 /system/wacomtablet
parent8106ce08a16602225ff39d3fb6ae20d9d646814f (diff)
downloadslackbuilds-32ef2f765335cb6755a2a6d57858d1b78f57912a.tar.gz
system/wacomtablet: Updated for version 2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/wacomtablet')
-rw-r--r--system/wacomtablet/slack-desc2
-rw-r--r--system/wacomtablet/wacomtablet.SlackBuild18
-rw-r--r--system/wacomtablet/wacomtablet.info8
3 files changed, 13 insertions, 15 deletions
diff --git a/system/wacomtablet/slack-desc b/system/wacomtablet/slack-desc
index 75931773db..e025263648 100644
--- a/system/wacomtablet/slack-desc
+++ b/system/wacomtablet/slack-desc
@@ -12,7 +12,7 @@ wacomtablet: This module implements a GUI for the Wacom Linux Drivers and extend
wacomtablet: it with profile support to handle different button / pen layouts
wacomtablet: per profile.
wacomtablet:
-wacomtablet: https://projects.kde.org/projects/extragear/base/wacomtablet
+wacomtablet: https://github.com/KDE/wacomtablet
wacomtablet:
wacomtablet:
wacomtablet:
diff --git a/system/wacomtablet/wacomtablet.SlackBuild b/system/wacomtablet/wacomtablet.SlackBuild
index bf1f54be30..35cb3a5246 100644
--- a/system/wacomtablet/wacomtablet.SlackBuild
+++ b/system/wacomtablet/wacomtablet.SlackBuild
@@ -23,12 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wacomtablet
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=$(printf $VERSION | tr _ -)
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -61,15 +59,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/114856-$PRGNAM-$SRCVERSION.tar.xz
-cd $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+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 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 {} \;
# Fixes based on Arch Linux patch (thanks!)
sed -i \
diff --git a/system/wacomtablet/wacomtablet.info b/system/wacomtablet/wacomtablet.info
index e340b65400..f424ef99b0 100644
--- a/system/wacomtablet/wacomtablet.info
+++ b/system/wacomtablet/wacomtablet.info
@@ -1,8 +1,8 @@
PRGNAM="wacomtablet"
-VERSION="2.1.0"
-HOMEPAGE="https://projects.kde.org/projects/extragear/base/wacomtablet"
-DOWNLOAD="http://kde-apps.org/CONTENT/content-files/114856-wacomtablet-2.1.0.tar.xz"
-MD5SUM="fb2f3eefa6ac7e3c7b07a42ea4f6624c"
+VERSION="2.1"
+HOMEPAGE="https://github.com/KDE/wacomtablet"
+DOWNLOAD="https://github.com/KDE/wacomtablet/archive/v2.1.tar.gz"
+MD5SUM="54f080ba51567585d8ba8791b28e357b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""