Mail archive
alpine-aports

[alpine-aports] [PATCH] main/i3lock: upgrade to 2.9.1

From: Daniel Sabogal <dsabogalcc_at_gmail.com>
Date: Wed, 21 Jun 2017 22:22:50 -0400

---
 main/i3lock/APKBUILD | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/main/i3lock/APKBUILD b/main/i3lock/APKBUILD
index 22c9e9f4d8..8352034cbd 100644
--- a/main/i3lock/APKBUILD
+++ b/main/i3lock/APKBUILD
_at_@ -1,22 +1,20 @@
 # Contributor: Johannes Matheis <jomat+alpinebuild_at_jmt.gr>
 # Maintainer: Johannes Matheis <jomat+alpinebuild_at_jmt.gr>
 pkgname=i3lock
-pkgver=2.8
+pkgver=2.9.1
 pkgrel=0
 pkgdesc="An improved screenlocker based upon XCB and PAM"
 url="http://i3wm.org/i3lock/"
 arch="all"
 license="MIT"
 depends="xkeyboard-config"
-depends_dev="libev-dev cairo-dev linux-pam-dev libxkbcommon-dev xcb-util-image-dev"
-makedepends="$depends_dev"
-install=""
+makedepends="libev-dev cairo-dev linux-pam-dev libxkbcommon-dev xcb-util-image-dev"
 subpackages="$pkgname-doc"
 source="$url/$pkgname-$pkgver.tar.bz2"
-
 builddir="$srcdir/$pkgname-$pkgver"
+
 prepare() {
-	default_prepare || return 1
+	default_prepare
 
 	cd "$builddir"
 
_at_@ -26,16 +24,19 @@ prepare() {
 
 build() {
 	cd "$builddir"
-	make || return 1
+	make
+}
+
+check() {
+	cd "$builddir"
+	./i3lock -v
 }
 
 package() {
 	cd "$builddir"
-	make DESTDIR="$pkgdir" install || return 1
-	install -m755 -d "${pkgdir}/usr/share/man/man1/"
-	install -m644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1/"
+	make DESTDIR="$pkgdir" install
+	install -m755 -d "$pkgdir/usr/share/man/man1/"
+	install -m644 $pkgname.1 "$pkgdir/usr/share/man/man1/"
 }
 
-md5sums="89de7b7d46fdb05638122cf3c2512093  i3lock-2.8.tar.bz2"
-sha256sums="028fc0f74df10826514d5a4ed38f6895935d1f5d47ca9fcffc64b076aaf6e2f4  i3lock-2.8.tar.bz2"
-sha512sums="b0f2f2837e275ffb2874aec75cd5d7c69864f8861de5e3e6090a2bf9254a14f8bc141256b0faac3e30111f9612e97cc087efde0da939854fac975a87deb06e3f  i3lock-2.8.tar.bz2"
+sha512sums="9b1bfac67a97880e61f8655a9256662ceec51850005298f13247ab570c03715718db84b1afefa979fb9a53a011fa20958f38d05f5378becf7803ece3e804faaf  i3lock-2.9.1.tar.bz2"
-- 
2.13.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Jun 21 2017 - 22:22:50 GMT