diff options
author | Sebastien BALLET <slacker6896@gmail.com> | 2017-07-16 23:47:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-22 06:55:30 +0700 |
commit | 5f973e03f2710ffc4ebda0e9ea89914bd2de6af9 (patch) | |
tree | 8e10f227e7f8ea864c3f56e507257948e7a5ef66 | |
parent | 93a7508b90e5c72696ae90e7250ab34f2b3aec36 (diff) | |
download | slackbuilds-5f973e03f2710ffc4ebda0e9ea89914bd2de6af9.tar.gz |
libraries/libxfcegui4: Fix variable.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/libxfcegui4/libxfcegui4.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/libxfcegui4/libxfcegui4.SlackBuild b/libraries/libxfcegui4/libxfcegui4.SlackBuild index e03cf1c9e9..f83a5cb840 100644 --- a/libraries/libxfcegui4/libxfcegui4.SlackBuild +++ b/libraries/libxfcegui4/libxfcegui4.SlackBuild @@ -29,7 +29,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -79,7 +79,7 @@ CFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --mandir=/usr/man \ - --docdir=/usr/doc/$PKGNAM-$VERSION \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ --disable-debug \ --build=$ARCH-slackware-linux @@ -93,10 +93,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr # We don't want icon caches: find $PKG/usr/share/icons -type f -name "icon-theme.cache" -exec rm -f {} \; -mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION +mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION cp -a \ AUTHORS COPYING* ChangeLog INSTALL NEWS README TODO \ - $PKG/usr/doc/${PKGNAM}-$VERSION + $PKG/usr/doc/${PRGNAM}-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |