25 lines
786 B
Bash
25 lines
786 B
Bash
# Template file for 'xlockmore'
|
|
pkgname=xlockmore
|
|
version=5.49
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="freetype-devel libXt-devel libXext-devel"
|
|
short_desc="Provides the 'xlock' X screen locker"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD"
|
|
homepage="http://sillycycle.com/xlockmore.html"
|
|
distfiles="http://sillycycle.com/xlock/xlockmore-${version}.tar.xz"
|
|
checksum=03c765a44b7d02e24110fbc223ef7a075726c2986c413cf18069bc8e43ed5758
|
|
CFLAGS="-D_DEFAULT_SOURCE"
|
|
|
|
pre_configure() {
|
|
export X_EXTRA_LIBS="$LDFLAGS"
|
|
}
|
|
do_install() {
|
|
make INSTPGMFLAGS= xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \
|
|
bindir=${DESTDIR}/usr/bin mandir=${DESTDIR}/usr/share/man/man1 \
|
|
prefix=${DESTDIR}/usr install
|
|
chmod u+s ${DESTDIR}/usr/bin/xlock
|
|
}
|