aboutsummaryrefslogtreecommitdiffstats
path: root/main/i3lock
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2016-08-12 13:57:45 -0400
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-14 16:51:12 +0200
commit74d4cbf39412364f28763fb9c5906fd2fd05cc00 (patch)
treede59a656832ce0c00b979c16ab530ab9d775b8e7 /main/i3lock
parentc3748e09e2eab7c71f55fa9fc0d23eaf6fa992a4 (diff)
downloadaports-74d4cbf39412364f28763fb9c5906fd2fd05cc00.tar.bz2
aports-74d4cbf39412364f28763fb9c5906fd2fd05cc00.tar.xz
main/i3lock: upgrade to 2.8
Diffstat (limited to 'main/i3lock')
-rw-r--r--main/i3lock/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/main/i3lock/APKBUILD b/main/i3lock/APKBUILD
index 5ea8fd0c88..11a4bed1a1 100644
--- a/main/i3lock/APKBUILD
+++ b/main/i3lock/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=i3lock
-pkgver=2.7
-pkgrel=1
+pkgver=2.8
+pkgrel=0
pkgdesc="An improved screenlocker based upon XCB and PAM"
url="http://i3wm.org/i3lock/"
arch="all"
@@ -12,12 +12,13 @@ depends_dev="libev-dev cairo-dev linux-pam-dev libxkbcommon-dev xcb-util-image-d
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
-source="$url/$pkgname-$pkgver.tar.bz2" # cflags.patch"
+source="$url/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- local i
- cd "$_builddir"
+ default_prepare || return 1
+
+ cd "$builddir"
update_config_sub || return 1
# Fix ticket FS#31544, sed line taken from gentoo
@@ -25,17 +26,17 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
make || return 1
}
package() {
- cd "$_builddir"
+ 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/"
}
-md5sums="7ac6cc52a08be10536d3f8d32cb83b45 i3lock-2.7.tar.bz2"
-sha256sums="6882183ed0eca439e3ad1ae3e9d48b4d0a0b6f075e3850b46bf84aec97538fe2 i3lock-2.7.tar.bz2"
-sha512sums="7945d142d239fe7f8985c1000e22db0532456939e65ee855f12e364092808d0cc09cc818b1189e32d88c872ce00033c41c8ebefe62349630872815adaf8b3899 i3lock-2.7.tar.bz2"
+md5sums="89de7b7d46fdb05638122cf3c2512093 i3lock-2.8.tar.bz2"
+sha256sums="028fc0f74df10826514d5a4ed38f6895935d1f5d47ca9fcffc64b076aaf6e2f4 i3lock-2.8.tar.bz2"
+sha512sums="b0f2f2837e275ffb2874aec75cd5d7c69864f8861de5e3e6090a2bf9254a14f8bc141256b0faac3e30111f9612e97cc087efde0da939854fac975a87deb06e3f i3lock-2.8.tar.bz2"