From 9fea627bcd89a896b4e33f2efd87e0d6716a94f2 Mon Sep 17 00:00:00 2001
From: "Edinaldo P. Silva" <edps.mundognu@gmail.com>
Date: Thu, 24 May 2018 22:03:49 +0100
Subject: libraries/libwacom: Updated for version 0.30.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
---
 libraries/libwacom/libwacom.SlackBuild | 7 ++++---
 libraries/libwacom/libwacom.info       | 8 ++++----
 libraries/libwacom/slack-desc          | 2 +-
 3 files changed, 9 insertions(+), 8 deletions(-)

(limited to 'libraries')

diff --git a/libraries/libwacom/libwacom.SlackBuild b/libraries/libwacom/libwacom.SlackBuild
index ac2d991d9d..39a54f979e 100644
--- a/libraries/libwacom/libwacom.SlackBuild
+++ b/libraries/libwacom/libwacom.SlackBuild
@@ -23,7 +23,7 @@
 #  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 PRGNAM=libwacom
-VERSION=${VERSION:-0.29}
+VERSION=${VERSION:-0.30}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -60,7 +60,8 @@ rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
 rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+mv $PRGNAM-$PRGNAM-$VERSION $PRGNAM-$VERSION
 cd $PRGNAM-$VERSION
 chown -R root:root .
 find -L . \
@@ -71,7 +72,7 @@ find -L . \
 
 CFLAGS="$SLKCFLAGS" \
 CXXFLAGS="$SLKCFLAGS" \
-./configure \
+./autogen.sh \
   --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --sysconfdir=/etc \
diff --git a/libraries/libwacom/libwacom.info b/libraries/libwacom/libwacom.info
index d9db18404e..331c4e8fe9 100644
--- a/libraries/libwacom/libwacom.info
+++ b/libraries/libwacom/libwacom.info
@@ -1,8 +1,8 @@
 PRGNAM="libwacom"
-VERSION="0.29"
-HOMEPAGE="https://sourceforge.net/projects/linuxwacom/"
-DOWNLOAD="https://sourceforge.net/projects/linuxwacom/files/libwacom/libwacom-0.29.tar.bz2"
-MD5SUM="3a6b614b57518b25a102dcd9e51d6681"
+VERSION="0.30"
+HOMEPAGE="https://github.com/linuxwacom/libwacom"
+DOWNLOAD="https://github.com/linuxwacom/libwacom/archive/libwacom-0.30/libwacom-libwacom-0.30.tar.gz"
+MD5SUM="96d18acdeb37d6f92eb97fb10a0fd219"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""
diff --git a/libraries/libwacom/slack-desc b/libraries/libwacom/slack-desc
index db90625080..35db81dc05 100644
--- a/libraries/libwacom/slack-desc
+++ b/libraries/libwacom/slack-desc
@@ -12,7 +12,7 @@ libwacom: Manages the libraries, configuration, and diagnostic tools for  Wacom
 libwacom: tablets running under Linux. It also maintains updated  Linux  kernel
 libwacom: drivers and Xorg/XFree86 XInput drivers.
 libwacom:
-libwacom: Home Page: https://sourceforge.net/projects/linuxwacom/
+libwacom: Home Page: https://github.com/linuxwacom/libwacom
 libwacom:
 libwacom:
 libwacom:
-- 
cgit v1.2.3