xlockmore: unbreak cross; do not install stripped bins.

This commit is contained in:
Juan RP 2014-12-12 09:11:47 +01:00
parent ab63cc9296
commit 76f5edf15f
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'xlockmore'
pkgname=xlockmore
version=5.32
revision=2
revision=3
hostmakedepends="pkg-config"
makedepends="freetype-devel libXt-devel libXext-devel"
short_desc="Provides the 'xlock' X screen locker"
@ -13,7 +13,10 @@ 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 xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \
make INSTPGMFLAGS= xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \
mandir=${DESTDIR}/usr/share/man/man1 prefix=${DESTDIR}/usr install
}