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