# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr> # Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr> setvar pkgname = 'i3lock' setvar pkgver = '2.9.1' setvar pkgrel = '0' setvar pkgdesc = ""An improved screenlocker based upon XCB and PAM"" setvar url = ""http://i3wm.org/i3lock/"" setvar arch = ""all"" setvar license = ""MIT"" setvar depends = ""xkeyboard-config"" setvar makedepends = ""libev-dev cairo-dev linux-pam-dev libxkbcommon-dev xcb-util-image-dev"" setvar subpackages = ""$pkgname-doc"" setvar source = ""$url/$pkgname-$pkgver.tar.bz2"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc prepare { default_prepare cd $builddir # Fix ticket FS#31544, sed line taken from gentoo sed -i -e 's:login:base-auth:g' i3lock.pam } proc build { cd $builddir make } proc check { cd $builddir ./i3lock -v } proc package { cd $builddir make DESTDIR="$pkgdir" install install -m755 -d "$pkgdir/usr/share/man/man1/" install -m644 $pkgname.1 "$pkgdir/usr/share/man/man1/" } setvar sha512sums = ""9b1bfac67a97880e61f8655a9256662ceec51850005298f13247ab570c03715718db84b1afefa979fb9a53a011fa20958f38d05f5378becf7803ece3e804faaf i3lock-2.9.1.tar.bz2""