Subject: [alpine-aports] [PATCH 1/2] main/libevdev: improve abuild

From: Daniel Sabogal <[email-masked]>
Date: Sat, 27 Aug 2016 10:46:07 -0400

---
 main/libevdev/APKBUILD | 23 ++++++-----------------
 1 file changed, 6 insertions(+), 17 deletions(-)

diff --git a/main/libevdev/APKBUILD b/main/libevdev/APKBUILD
index f20d158..8e2ec31 100644
--- a/main/libevdev/APKBUILD
+++ b/main/libevdev/APKBUILD
@@ -1,31 +1,20 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=libevdev
 pkgver=1.5.3
-pkgrel=0
+pkgrel=1
 pkgdesc="Kernel Evdev Device Wrapper Library"
 url="https://www.freedesktop.org/wiki/Software/libevdev"
 arch="all"
 license="MIT"
 depends=""
-depends_dev=""
-makedepends="$depends_dev python linux-headers"
-install=""
+makedepends="python linux-headers"
 subpackages="$pkgname-dev $pkgname-doc"
-source="https://freedesktop.org/software/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
 
-_builddir="$srcdir"/libevdev-$pkgver
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
+builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
@@ -39,7 +28,7 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" install || return 1
 }
 
-- 
2.8.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Daniel Sabogal <[email-masked]>
Date: Sat, 27 Aug 2016 10:46:08 -0400

---
 main/libevdev/APKBUILD | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/main/libevdev/APKBUILD b/main/libevdev/APKBUILD
index 8e2ec31..ddfda0b 100644
--- a/main/libevdev/APKBUILD
+++ b/main/libevdev/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=libevdev
-pkgver=1.5.3
-pkgrel=1
+pkgver=1.5.4
+pkgrel=0
 pkgdesc="Kernel Evdev Device Wrapper Library"
 url="https://www.freedesktop.org/wiki/Software/libevdev"
 arch="all"
@@ -32,6 +32,6 @@ package() {
 	make DESTDIR="$pkgdir" install || return 1
 }
 
-md5sums="60a9eb9a338c725d0dc571c0c978d2a7  libevdev-1.5.3.tar.xz"
-sha256sums="6dd58044c35eb30e97efe0e2f388d77bd3c64036c7780171f70ddb67004e62d3  libevdev-1.5.3.tar.xz"
-sha512sums="fc49b34a035296a93e8ba1481565977ced532a6305204fe0c7b017c997083794222eed31c89cd57bea743a6a63d24a346e331e0d948e380b51fe4af16f8f52dd  libevdev-1.5.3.tar.xz"
+md5sums="8f22027bd7a7ba19e6f2695f78e672b6  libevdev-1.5.4.tar.xz"
+sha256sums="11fe76d62cc76fbc9dbf8e94696a80eee63780139161e5cf54c55ec21a8173a4  libevdev-1.5.4.tar.xz"
+sha512sums="9062b8c599ccc361d39bd0d06ee7dd7ddcca21541849a5f53ff1ec6d9760a8b575d90201a9a6b5ac5a01e7a77af9d191901bb1196976de52080e351717119f4e  libevdev-1.5.4.tar.xz"
-- 
2.8.3

---