summaryrefslogtreecommitdiff
path: root/repo/x11/xautolock.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:28:13 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:28:13 +0100
commit4c585ad54388285500fd18a6aaa516894e0f2c16 (patch)
tree756ab363c11ce8dec4d16e20885c5e422db4a92e /repo/x11/xautolock.xibuild
parent751b7f3d84515715d07d92a5aed78062bd39adff (diff)
added xcatclock
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
+}