mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
academic/scilab: Fix .pc file location.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
badb5b870a
commit
ffda167b71
1 changed files with 7 additions and 3 deletions
|
@ -40,7 +40,11 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" != "i686" ] && [ "$ARCH" != "x86_64" ]; then
|
||||
if [ "$ARCH" = "i686" ]; then
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
printf "\n\n$ARCH is not supported...\n"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -60,8 +64,8 @@ cat $CWD/profile.d/$PRGNAM.sh > $PKG/etc/profile.d/$PRGNAM.sh
|
|||
cat $CWD/profile.d/$PRGNAM.csh > $PKG/etc/profile.d/$PRGNAM.csh
|
||||
chmod 0755 $PKG/etc/profile.d/*
|
||||
|
||||
mkdir -p $PKG/usr/lib $PKG/usr/share
|
||||
mv lib/pkgconfig $PKG/usr/lib
|
||||
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/share
|
||||
mv lib/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}
|
||||
mv share/applications share/icons share/mime $PKG/usr/share/
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
Loading…
Reference in a new issue