29 lines
903 B
Bash
29 lines
903 B
Bash
# Template file for 'xlockmore'
|
|
pkgname=xlockmore
|
|
version=5.59
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-xinerama"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="freetype-devel libXt-devel libXext-devel libXinerama-devel"
|
|
short_desc="Provides the 'xlock' X screen locker"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://sillycycle.com/xlockmore.html"
|
|
distfiles="http://sillycycle.com/xlock/xlockmore-${version}.tar.xz"
|
|
checksum=2d2a6855ecdeee4856ace76acf615d3b2e48303951bb5fd31a234e4a54615251
|
|
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
|
|
|
|
sed -n 56,74p xlock/xlock.h > LICENSE
|
|
vlicense LICENSE
|
|
}
|