xlockmore: fix installation; get rid of cross workarounds.
This commit is contained in:
parent
6f3f718b69
commit
b34e81e5ac
1 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,9 @@
|
|||
# Template file for 'xlockmore'
|
||||
pkgname=xlockmore
|
||||
version=5.32
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-appdefaultdir=/usr/share/X11/app-defaults"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="freetype-devel libXt-devel libXext-devel"
|
||||
short_desc="Provides the 'xlock' X screen locker"
|
||||
|
@ -10,14 +12,10 @@ license="BSD"
|
|||
homepage="http://www.ibiblio.org/pub/Linux/X11/screensavers/"
|
||||
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=a0e67fd292579b0da2ded37bf05c31615020d0f7d638ff7a7eb2dc5cdc900870
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-appdefaultdir=/usr/share/X11/app-defaults"
|
||||
|
||||
pre_build() {
|
||||
sed -i 's,-L/usr/lib,,g' modes/Makefile
|
||||
}
|
||||
do_install() {
|
||||
make INSTPGMFLAGS= xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \
|
||||
mandir=${DESTDIR}/usr/share/man/man1 prefix=${DESTDIR}/usr install
|
||||
bindir=${DESTDIR}/usr/bin mandir=${DESTDIR}/usr/share/man/man1 \
|
||||
prefix=${DESTDIR}/usr install
|
||||
chmod u+s ${DESTDIR}/usr/bin/xlock
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue