summaryrefslogtreecommitdiff
path: root/repo/xautolock/xautolock.xibuild
blob: a276956a3bfcecbc2893f3651d7c19aa2e6059e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

NAME="xautolock"
DESC="An automatic X screen-locker/screen-saver"

MAKEDEPS="make imake xorg-cf-files 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
}