summaryrefslogtreecommitdiff
path: root/multimedia/x264/x264.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/x264/x264.SlackBuild')
-rw-r--r--multimedia/x264/x264.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild
index 4aa6e64f51..e0b6a2c6c1 100644
--- a/multimedia/x264/x264.SlackBuild
+++ b/multimedia/x264/x264.SlackBuild
@@ -6,7 +6,7 @@
# Modified by Heinz Wiesinger <pprkut@liwjatan.at>
PRGNAM=x264
-VERSION=20090310
+VERSION=20100327
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,12 +51,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION