# Template file for 'xlockmore' pkgname=xlockmore version=5.56 revision=2 build_style=gnu-configure configure_args="$(vopt_with xinerama)" hostmakedepends="pkg-config" makedepends="freetype-devel libXt-devel libXext-devel libXinerama-devel" short_desc="Provides the 'xlock' X screen locker" maintainer="Juan RP " license="BSD" homepage="http://sillycycle.com/xlockmore.html" distfiles="http://sillycycle.com/xlock/xlockmore-${version}.tar.xz" checksum=a0dd8eb470bbda89b3ffdfaeb85c8a675c7469a1b657333eee906b9bd3b1e1b5 CFLAGS="-D_DEFAULT_SOURCE" build_options="xinerama" build_options_default="xinerama" 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 }