summaryrefslogtreecommitdiffstats
path: root/system/acpi/acpi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/acpi/acpi.SlackBuild')
-rw-r--r--system/acpi/acpi.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/acpi/acpi.SlackBuild b/system/acpi/acpi.SlackBuild
index 5e91712177..f70d74be73 100644
--- a/system/acpi/acpi.SlackBuild
+++ b/system/acpi/acpi.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for acpi
-# Copyright 2008-2010 Grigorios Bouzakis <grbzks@xsmail.com>
+# Copyright 2008-2012 Grigorios Bouzakis <grbzks@imap.cc>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -20,7 +20,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=acpi
-VERSION=${VERSION:-1.5}
+VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,13 +84,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION