diff options
author | Sebastien BALLET <slacker6896@gmail.com> | 2017-07-15 07:30:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-15 07:30:17 +0700 |
commit | 42a8e290bff8cdb81a1d5de76df1f9b10da970e7 (patch) | |
tree | 1a9fc39102caf5a5208b673b21272603be52296b | |
parent | 187cdb279ea381b3d9d53407520c73aed646acf4 (diff) | |
download | slackbuilds-42a8e290bff8cdb81a1d5de76df1f9b10da970e7.tar.gz |
libraries/libsunpinyin: Fix ownership.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/libsunpinyin/libsunpinyin.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libraries/libsunpinyin/libsunpinyin.SlackBuild b/libraries/libsunpinyin/libsunpinyin.SlackBuild index f8ac6881d9..024c7de01b 100644 --- a/libraries/libsunpinyin/libsunpinyin.SlackBuild +++ b/libraries/libsunpinyin/libsunpinyin.SlackBuild @@ -13,7 +13,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 @@ -24,8 +24,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -63,7 +63,7 @@ sed -i \ -e "s|arpa\.tar|arpa-${LMVER}.tar|" \ -e "s|utf8\.tar|utf8-${DIVER}.tar|" \ raw/Makefile -cp -a $CWD/{lm_sc.t3g.arpa-${LMVER},dict.utf8-${DIVER}}.tar.bz2 raw/ || true +cp $CWD/{lm_sc.t3g.arpa-${LMVER},dict.utf8-${DIVER}}.tar.bz2 raw/ || true export CFLAGS="$SLKCFLAGS" export CXXFLAGS="$SLKCFLAGS" @@ -74,8 +74,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS ChangeLog COPYING LGPL.LICENSE NEWS OPENSOLARIS.LICENSE README TODO \ +cp -a AUTHORS ChangeLog COPYING LGPL.LICENSE NEWS OPENSOLARIS.LICENSE README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |