summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Klinkovský2015-07-27 13:00:42 +0200
committerJakub Klinkovský2015-07-27 13:00:42 +0200
commit9e0008e6f531853f163a21e7c957dcfe22a44af2 (patch)
tree624a8d4530ab5a457fb4144ebb7d9a84bf176485
downloadaur-9e0008e6f531853f163a21e7c957dcfe22a44af2.tar.gz
initial commit (version 1.1.7)
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD32
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..48dc780493c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = sxlock-git
+ pkgdesc = Simple screen locker utility for X, fork of sflock. Uses PAM authentication, no suid needed.
+ pkgver = 1.1.7.g639db05
+ pkgrel = 1
+ url = https://github.com/lahwaacz/sxlock
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = libxext
+ depends = libxrandr
+ depends = pam
+ source = git://github.com/lahwaacz/sxlock.git
+ md5sums = SKIP
+
+pkgname = sxlock-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..a6b5e5e85ed
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg/
+/src/
+*.pkg.tar.xz
+*.pkg.tar.xz.sig
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8b987c5f2c7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jakub Klinkovský <j.l.k@gmx.com>
+
+pkgname=sxlock-git
+_pkgname=sxlock
+pkgver=1.1.7.g639db05
+pkgrel=1
+pkgdesc="Simple screen locker utility for X, fork of sflock. Uses PAM authentication, no suid needed."
+arch=('i686' 'x86_64')
+url="https://github.com/lahwaacz/sxlock"
+license=('MIT')
+depends=('libxext' 'libxrandr' 'pam')
+makedepends=('git')
+source=('git://github.com/lahwaacz/sxlock.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ git describe --always | sed 's|^v||;s|-|.|g'
+}
+
+build() {
+ cd "$_pkgname"
+ make
+}
+
+package() {
+ cd "$_pkgname"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: