Mail archive
alpine-aports

[alpine-aports] [PATCH 2/2] main/xf86-input-libinput: upgrade to 0.26.0

From: Daniel Sabogal <dsabogalcc_at_gmail.com>
Date: Mon, 25 Sep 2017 13:34:00 -0400

---
 main/xf86-input-libinput/APKBUILD | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/main/xf86-input-libinput/APKBUILD b/main/xf86-input-libinput/APKBUILD
index 90d556107c..9826fd0d2e 100644
--- a/main/xf86-input-libinput/APKBUILD
+++ b/main/xf86-input-libinput/APKBUILD
_at_@ -1,7 +1,7 @@
 # Contributor: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=xf86-input-libinput
-pkgver=0.25.1
+pkgver=0.26.0
 pkgrel=0
 pkgdesc="X.Org input driver based on libinput"
 url="http://xorg.freedesktop.org/"
_at_@ -10,11 +10,10 @@ license="MIT"
 depends=""
 depends_dev="libinput-dev xorg-server-dev"
 makedepends="$depends_dev resourceproto scrnsaverproto"
-install=""
 subpackages="$pkgname-dev $pkgname-doc"
-source="http://www.x.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2"
+source="http://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
+builddir="$srcdir/$pkgname-$pkgver"
 
-builddir="$srcdir"/$pkgname-$pkgver
 build() {
 	cd "$builddir"
 	./configure \
_at_@ -23,15 +22,19 @@ build() {
 		--prefix=/usr \
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
-		--localstatedir=/var \
-		|| return 1
-	make || return 1
+		--localstatedir=/var
+	make
+}
+
+check() {
+	cd "$builddir"
+	make check
 }
 
 package() {
 	cd "$builddir"
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }
 
-sha512sums="9a8d16bdffb73a5318d22e352826c410ccb6f8c7ade31c23823bd6c17202bb67e917dfe8d4cab6e54fdf15f201d14d80b6306cedc5f93f66989edfcab5082ece  xf86-input-libinput-0.25.1.tar.bz2"
+sha512sums="b52a27e916f7e86576500ef2bc3ce640676f5a710543755865a723628c0e01a575989460853bac184ed696961e3f8fca72ecba8ad4625be8cd9e31f9a55f5e97  xf86-input-libinput-0.26.0.tar.bz2"
-- 
2.14.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Sep 25 2017 - 13:34:00 UTC