system/wacomtablet: Updated for version 2.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-07-08 07:09:57 +07:00
parent 8106ce08a1
commit 32ef2f7653
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 13 additions and 15 deletions

View file

@ -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:

View file

@ -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 \

View file

@ -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=""