diff options
-rw-r--r-- | user/i3lock/APKBUILD | 29 |
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" |