X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mx0.jmt.gr (mx0.jmt.gr [91.143.91.66]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id B8C56DC0C14 for ; Thu, 28 Aug 2014 15:02:56 +0000 (UTC) Received: from jmt.gr (unknown [172.22.173.227]) by mx0.jmt.gr (Postfix) with ESMTP id CBC7D5BC9 for ; Thu, 28 Aug 2014 15:02:54 +0000 (UTC) Received: from jomat (uid 1000) (envelope-from jomat@jmt.gr) id 124ecf by jmt.gr (DragonFly Mail Agent v0.9); Thu, 28 Aug 2014 15:02:55 +0000 Content-Type: text/plain; charset=UTF-8 To: alpine-devel@lists.alpinelinux.org From: Johannes Matheis Subject: [alpine-devel] [PATCH] testing/i3lock: new aport Date: Thu, 28 Aug 2014 15:02:54 +0000 Message-Id: <1409238136-turnsole-25439@jmt.gr> User-Agent: turnsole, a heliotrope client v.git X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://i3wm.org/i3lock/ An improved screenlocker based upon XCB and PAM --- testing/i3lock/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/i3lock/APKBUILD diff --git a/testing/i3lock/APKBUILD b/testing/i3lock/APKBUILD new file mode 100644 index 0000000..d6be178 --- /dev/null +++ b/testing/i3lock/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Johannes Matheis +# Maintainer: Johannes Matheis +pkgname=i3lock +pkgver=2.6 +pkgrel=0 +pkgdesc="An improved screenlocker based upon XCB and PAM" +url="http://i3wm.org/i3lock/" +arch="all" +license="MIT" +depends="" +depends_dev="libev-dev cairo-dev linux-pam-dev libxkbcommon-dev xcb-util-image-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="$url/$pkgname-$pkgver.tar.bz2" # cflags.patch" + +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + local i + cd "$_builddir" + update_config_sub || return 1 + + # Fix ticket FS#31544, sed line taken from gentoo + sed -i -e 's:login:base-auth:g' i3lock.pam +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la + install -m755 -d "${pkgdir}/usr/share/man/man1/" + install -m644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1/" +} + +md5sums="46870f347f474a894ec8044717b4d925 i3lock-2.6.tar.bz2" +sha256sums="c02d899fefc66bc36e47b305251363861400541f3925a21a94c66cee9055402a i3lock-2.6.tar.bz2" +sha512sums="ccaf336b4abd65df24ba37613ba46e129d6e4c42cb8c0a05cc8d9cc0815f0f9f03613230b1cdbb5d16d6903a57a04f2c6b0fc168881ae03000aa170716fedf4a i3lock-2.6.tar.bz2" -- 2.0.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---