diff options
author | Johannes Matheis <jomat+alpinebuild@jmt.gr> | 2014-08-28 19:04:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-20 12:53:03 +0000 |
commit | edbda7b9abf93a45e9d193e5fe5d1c2badb4fa50 (patch) | |
tree | b09eb127203d58ba00235561201d9539402c317c | |
parent | 7bb647638dd9b4432d2ed80f6bfa7df041e9d7c8 (diff) | |
download | alpine_aports-edbda7b9abf93a45e9d193e5fe5d1c2badb4fa50.tar.bz2 alpine_aports-edbda7b9abf93a45e9d193e5fe5d1c2badb4fa50.tar.xz alpine_aports-edbda7b9abf93a45e9d193e5fe5d1c2badb4fa50.zip |
testing/i3lock: new aport
http://i3wm.org/i3lock/
An improved screenlocker based upon XCB and PAM
-rw-r--r-- | testing/i3lock/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/i3lock/APKBUILD b/testing/i3lock/APKBUILD new file mode 100644 index 0000000000..d6be178350 --- /dev/null +++ b/testing/i3lock/APKBUILD | |||
@@ -0,0 +1,42 @@ | |||
1 | # Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr> | ||
2 | # Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr> | ||
3 | pkgname=i3lock | ||
4 | pkgver=2.6 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="An improved screenlocker based upon XCB and PAM" | ||
7 | url="http://i3wm.org/i3lock/" | ||
8 | arch="all" | ||
9 | license="MIT" | ||
10 | depends="" | ||
11 | depends_dev="libev-dev cairo-dev linux-pam-dev libxkbcommon-dev xcb-util-image-dev" | ||
12 | makedepends="$depends_dev" | ||
13 | install="" | ||
14 | subpackages="$pkgname-doc" | ||
15 | source="$url/$pkgname-$pkgver.tar.bz2" # cflags.patch" | ||
16 | |||
17 | _builddir="$srcdir/$pkgname-$pkgver" | ||
18 | prepare() { | ||
19 | local i | ||
20 | cd "$_builddir" | ||
21 | update_config_sub || return 1 | ||
22 | |||
23 | # Fix ticket FS#31544, sed line taken from gentoo | ||
24 | sed -i -e 's:login:base-auth:g' i3lock.pam | ||
25 | } | ||
26 | |||
27 | build() { | ||
28 | cd "$_builddir" | ||
29 | make || return 1 | ||
30 | } | ||
31 | |||
32 | package() { | ||
33 | cd "$_builddir" | ||
34 | make DESTDIR="$pkgdir" install || return 1 | ||
35 | rm -f "$pkgdir"/usr/lib/*.la | ||
36 | install -m755 -d "${pkgdir}/usr/share/man/man1/" | ||
37 | install -m644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1/" | ||
38 | } | ||
39 | |||
40 | md5sums="46870f347f474a894ec8044717b4d925 i3lock-2.6.tar.bz2" | ||
41 | sha256sums="c02d899fefc66bc36e47b305251363861400541f3925a21a94c66cee9055402a i3lock-2.6.tar.bz2" | ||
42 | sha512sums="ccaf336b4abd65df24ba37613ba46e129d6e4c42cb8c0a05cc8d9cc0815f0f9f03613230b1cdbb5d16d6903a57a04f2c6b0fc168881ae03000aa170716fedf4a i3lock-2.6.tar.bz2" | ||