diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2017-06-21 22:22:50 -0400 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-23 08:22:57 +0000 |
commit | b820ad148afcc432843ce1577c33b9902f7880aa (patch) | |
tree | fa1a8dfa394c660c4e77f0c04f399cd167ee03d5 /main/i3lock | |
parent | fddda68d83cd098696fb08feadc2eb3b9935e1c7 (diff) | |
download | aports-b820ad148afcc432843ce1577c33b9902f7880aa.tar.bz2 aports-b820ad148afcc432843ce1577c33b9902f7880aa.tar.xz |
main/i3lock: upgrade to 2.9.1
Diffstat (limited to 'main/i3lock')
-rw-r--r-- | main/i3lock/APKBUILD | 27 |
1 files 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 @@ -1,22 +1,20 @@ # Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr> # Maintainer: Johannes Matheis <jomat+alpinebuild@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" @@ -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" |