summaryrefslogtreecommitdiff
path: root/system/lxpolkit/lxpolkit.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2011-12-28 05:16:43 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-31 00:24:38 -0600
commitc32473a38d57a659b2a6977f9055587e7bb43727 (patch)
tree1984259f9100f7d7c53fde70c23da17a5f86dcb3 /system/lxpolkit/lxpolkit.SlackBuild
parent47330e1d4ad691805e565c728396e70dafb1d907 (diff)
downloadslackbuilds-c32473a38d57a659b2a6977f9055587e7bb43727.tar.gz
system/lxpolkit: Updated for version 0.1.0
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/lxpolkit/lxpolkit.SlackBuild')
-rw-r--r--system/lxpolkit/lxpolkit.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/system/lxpolkit/lxpolkit.SlackBuild b/system/lxpolkit/lxpolkit.SlackBuild
index 0cae05303a..583d654861 100644
--- a/system/lxpolkit/lxpolkit.SlackBuild
+++ b/system/lxpolkit/lxpolkit.SlackBuild
@@ -7,16 +7,14 @@
# generated by Grissiom's sbo-dev-helper
PRGNAM=lxpolkit
-VERSION=${VERSION:-20100726_0ce3d64}
+VERSION=${VERSION:-0.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -55,7 +53,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sh autogen.sh
+sh autogen.sh || true
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -64,15 +62,11 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \