2014-12-11 21:38:29 +00:00
|
|
|
# Template file for 'xlockmore'
|
|
|
|
pkgname=xlockmore
|
|
|
|
version=5.32
|
2015-03-11 14:18:31 +00:00
|
|
|
revision=4
|
2014-12-11 21:38:29 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2014-12-12 08:03:50 +00:00
|
|
|
makedepends="freetype-devel libXt-devel libXext-devel"
|
2014-12-11 21:38:29 +00:00
|
|
|
short_desc="Provides the 'xlock' X screen locker"
|
|
|
|
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
|
2014-12-12 08:03:50 +00:00
|
|
|
license="BSD"
|
2014-12-11 21:38:29 +00:00
|
|
|
homepage="http://www.ibiblio.org/pub/Linux/X11/screensavers/"
|
|
|
|
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
|
|
|
|
checksum=a0e67fd292579b0da2ded37bf05c31615020d0f7d638ff7a7eb2dc5cdc900870
|
|
|
|
build_style=gnu-configure
|
2014-12-12 08:03:50 +00:00
|
|
|
configure_args="--enable-appdefaultdir=/usr/share/X11/app-defaults"
|
2014-12-11 21:38:29 +00:00
|
|
|
|
2014-12-12 08:11:47 +00:00
|
|
|
pre_build() {
|
|
|
|
sed -i 's,-L/usr/lib,,g' modes/Makefile
|
|
|
|
}
|
2014-12-12 08:03:50 +00:00
|
|
|
do_install() {
|
2014-12-12 08:11:47 +00:00
|
|
|
make INSTPGMFLAGS= xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \
|
2014-12-12 08:03:50 +00:00
|
|
|
mandir=${DESTDIR}/usr/share/man/man1 prefix=${DESTDIR}/usr install
|
2015-03-11 14:18:31 +00:00
|
|
|
chmod u+s ${DESTDIR}/usr/bin/xlock
|
2014-12-12 08:03:50 +00:00
|
|
|
}
|