mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
cinnamon: Move files to /usr/lib64 for x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
parent
54590958fb
commit
5897d31c44
1 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=cinnamon
|
PRGNAM=cinnamon
|
||||||
VERSION=${VERSION:-2.0.14}
|
VERSION=${VERSION:-2.0.14}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_csb}
|
TAG=${TAG:-_csb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
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 {} \;
|
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
|
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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a ABOUT-NLS COPYING NEWS README $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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
Loading…
Reference in a new issue