summaryrefslogtreecommitdiff
path: root/user/i3lock
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-10-18 02:17:21 -0400
committerMax Rees <maxcrees@me.com>2018-10-18 02:17:21 -0400
commitfd01d27e541459e11a7e10b89f013ae3965b8a1a (patch)
tree87310316f2dffb5c6fc5f18d797de8ebd7802df8 /user/i3lock
parent8e6b5786556137d5959211f792d6d56589b3c476 (diff)
downloadpackages-fd01d27e541459e11a7e10b89f013ae3965b8a1a.tar.gz
packages-fd01d27e541459e11a7e10b89f013ae3965b8a1a.tar.bz2
packages-fd01d27e541459e11a7e10b89f013ae3965b8a1a.tar.xz
packages-fd01d27e541459e11a7e10b89f013ae3965b8a1a.zip
user/i3lock: take, bump to 2.11
Diffstat (limited to 'user/i3lock')
-rw-r--r--user/i3lock/APKBUILD29
1 files changed, 16 insertions, 13 deletions
diff --git a/user/i3lock/APKBUILD b/user/i3lock/APKBUILD
index 9791fdc02..8080867c7 100644
--- a/user/i3lock/APKBUILD
+++ b/user/i3lock/APKBUILD
@@ -1,15 +1,16 @@
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
-# Maintainer:
+# Maintainer: Max Rees <maxcrees@me.com>
pkgname=i3lock
-pkgver=2.10
-pkgrel=1
+pkgver=2.11
+pkgrel=0
pkgdesc="Simple X11 screen locker"
url="https://i3wm.org/i3lock/"
arch="all"
+options="!check" # No test suite.
license="MIT"
depends="xkeyboard-config"
makedepends="cairo-dev libev-dev libxkbcommon-dev linux-pam-dev cmd:which
- xcb-util-image-dev"
+ xcb-util-image-dev xcb-util-xrm-dev"
subpackages="$pkgname-doc"
source="$url/$pkgname-$pkgver.tar.bz2"
@@ -19,24 +20,26 @@ prepare() {
# At present, this has no functional difference.
# But when we start developing our PAM stack into something more
# mature, this will be important, because i3lock runs unprivileged.
- sed -i -e 's:login:base-auth:g' i3lock.pam
+ sed -i -e 's:login:base-auth:g' pam/i3lock
}
build() {
cd "$builddir"
- make
-}
-check() {
- cd "$builddir"
- ./i3lock -v
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+
+ make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
- install -m755 -d "$pkgdir/usr/share/man/man1/"
- install -m644 $pkgname.1 "$pkgdir/usr/share/man/man1/"
}
-sha512sums="ea865b202668212b58d0b97d0263171847e1bd0c529e2fd3d26c15ef253861b9a8357ff2efaa6a4f342c4d0d1ab03bc00f95f4d4008760ec8e0767ac29195517 i3lock-2.10.tar.bz2"
+sha512sums="c00741a66fdb5477a4b7e993d173f98fe95f0254fa74c50f83ddf8078a477d26a9fab126fbe31b509df2dbd35ed5ec64b95475621b8babf6f6c0f6db38160c8a i3lock-2.11.tar.bz2"