summaryrefslogtreecommitdiff
path: root/i3lock
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2016-02-01 07:39:41 -0700
committerAaron Ball <nullspoon@iohq.net>2016-02-01 07:45:57 -0700
commit1f9b6dcf3c28f86dfbfb82ed2abcfa5c4c443659 (patch)
tree3526244224fe1644955e594c7fb83cecd58a8f07 /i3lock
parent25f375cc533c458e5b153800fb07d54cbc632a74 (diff)
downloadports-1f9b6dcf3c28f86dfbfb82ed2abcfa5c4c443659.tar.gz
ports-1f9b6dcf3c28f86dfbfb82ed2abcfa5c4c443659.tar.xz
i3lock:Initial commit
Diffstat (limited to 'i3lock')
-rw-r--r--i3lock/.footprint6
-rw-r--r--i3lock/Pkgfile38
2 files changed, 44 insertions, 0 deletions
diff --git a/i3lock/.footprint b/i3lock/.footprint
new file mode 100644
index 0000000..f710602
--- /dev/null
+++ b/i3lock/.footprint
@@ -0,0 +1,6 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/pam.d/
+-rw-r--r-- root/root etc/pam.d/i3lock
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/i3lock
diff --git a/i3lock/Pkgfile b/i3lock/Pkgfile
new file mode 100644
index 0000000..2467e48
--- /dev/null
+++ b/i3lock/Pkgfile
@@ -0,0 +1,38 @@
+# Description: Lockscreen manager for i3
+# URL: http://i3wm.org
+# Packager: Aaron Ball, nullspoon at oper dot io
+# Depends on: xorg-libxcb, libev, xorg-libx11, libxkbcommon, linux-pam
+
+name=i3lock
+version=2.7
+release=1
+source=()
+gitsource='https://github.com/i3/i3lock.git'
+
+gitsetup() {
+ if [[ -d ${name} ]]; then
+ cd ${name}
+ git reset --hard
+ git pull ${gitsource}
+ else
+ git clone ${gitsource} ${name}
+ cd ${name}
+ fi
+
+ git checkout ${version}
+}
+
+
+build() {
+ # Get the git repo ready
+ gitsetup
+
+ # Compile
+ make
+
+ # Install
+ make DESTDIR=$PKG install
+}
+
+
+# vim: set ft=sh ts=2 et:

Generated by cgit