summaryrefslogtreecommitdiff
path: root/repo/xautolock/xautolock.xibuild
blob: 75476d6b75166db379fcaa150a5115dfda8fc263 (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
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
}