mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
office/texlive-extra: Fix ARCH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
677b9b1de3
commit
8c74e25ff4
1 changed files with 9 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
|||
|
||||
PRGNAM=texlive-extra
|
||||
VERSION=${VERSION:-2017.170622}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
|
@ -34,10 +34,16 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
ARCH=noarch
|
||||
|
||||
set -e
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG/usr/share $OUTPUT
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG/usr/share
|
||||
|
|
Loading…
Reference in a new issue