summaryrefslogtreecommitdiff
path: root/repo/x11/xautolock.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/x11/xautolock.xibuild')
-rw-r--r--repo/x11/xautolock.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/x11/xautolock.xibuild b/repo/x11/xautolock.xibuild
new file mode 100644
index 0000000..75476d6
--- /dev/null
+++ b/repo/x11/xautolock.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="xautolock"
+DESC="An automatic X screen-locker/screen-saver"
+
+MAKEDEPS="make imake xorg-cf-files"
+DEPS="libx11 libxscrnsaver musl "
+
+PKG_VER=2.2
+SOURCE="https://www.ibiblio.org/pub/linux/X11/screensavers/xautolock-$PKG_VER.tgz"
+ADDITIONAL="processwait.patch "
+
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ xmkmf
+ make
+}
+
+package () {
+ make PREFIX=/usr DESTDIR=$PKG_DEST install
+ make MANPATH=/usr/share/man DESTDIR=$PKG_DEST install.man
+}