cinnamon: Move files to /usr/lib64 for x86_64.

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
Willy Sudiarto Raharjo 2014-04-09 22:57:24 +07:00
parent 54590958fb
commit 5897d31c44

View file

@ -24,7 +24,7 @@
PRGNAM=cinnamon
VERSION=${VERSION:-2.0.14}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_csb}
if [ -z "$ARCH" ]; then
@ -94,6 +94,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
if [ "$ARCH" = "x86_64" ]; then
mv $PKG/usr/lib/cinnamon-* $PKG/usr/lib${LIBDIRSUFFIX}/
rm -rf $PKG/usr/lib
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ABOUT-NLS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild