diff options
author | ZoLToR | 2017-01-07 15:51:16 +0300 |
---|---|---|
committer | ZoLToR | 2017-01-07 15:51:16 +0300 |
commit | c16d0ced3d483a2a70968064247049804540e8b1 (patch) | |
tree | b4843aaa26f52c46a7f1e6b55b20428ca53f5d31 | |
download | aur-c16d0ced3d483a2a70968064247049804540e8b1.tar.gz |
Init import
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..04bc7eab7169 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +# Generated by mksrcinfo v8 +# Sat Jan 7 12:49:44 UTC 2017 +pkgbase = i3lock-cac03-git + pkgdesc = An improved screenlocker based upon XCB and PAM (cac03 fork) with clock, layout indicator, CAPS indicator + pkgver = 22bfcb + pkgrel = 2 + url = https://github.com/cac03/i3lock + arch = i686 + arch = x86_64 + groups = i3 + license = MIT + depends = xcb-util-image + depends = libev + depends = cairo + depends = libxkbcommon-x11 + provides = i3lock + conflicts = i3lock + replaces = i3lock + options = docs + backup = etc/pam.d/i3lock + source = git://github.com/cac03/i3lock.git + md5sums = SKIP + +pkgname = i3lock-cac03-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0c64ea67b214 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Pavel Ordenko <zoltor@gmail.com> +# This PKGBUILD based on https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=i3lock-lixxia-git + +pkgname=i3lock-cac03-git +pkgver=22bfcb +pkgrel=2 +pkgdesc="An improved screenlocker based upon XCB and PAM (cac03 fork) with clock, layout indicator, CAPS indicator" +arch=('i686' 'x86_64') +url="https://github.com/cac03/i3lock" +license=('MIT') +groups=("i3") +depends=('xcb-util-image' 'libev' 'cairo' 'libxkbcommon-x11') +options=('docs') +provides=('i3lock') +conflicts=('i3lock') +replaces=('i3lock') +backup=("etc/pam.d/i3lock") +source=("git://github.com/cac03/i3lock.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/i3lock" + git describe --always | cut -c2- | tr "-" "." +} + +build() { + cd "${srcdir}/i3lock" + make + gzip i3lock.1 +} + +package() { + cd "${srcdir}/i3lock" + make DESTDIR="${pkgdir}" install + + install -Dm644 i3lock.1.gz ${pkgdir}/usr/share/man/man1/i3lock.1.gz + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + make clean +}
\ No newline at end of file |