diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2024-02-10 11:27:17 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-02-11 21:45:56 +0700 |
commit | 81777ae60d61dd396e864a68bebc0ba930a3e57d (patch) | |
tree | 2954855b57061aa21dbb2295962c4c1dea74bf70 /office/lout | |
parent | a23665a93b933d26f6a1fe8d799886785b0245f6 (diff) |
office/lout: Updated for version 3.43
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/lout')
-rw-r--r-- | office/lout/lout.SlackBuild | 38 | ||||
-rw-r--r-- | office/lout/lout.info | 6 |
2 files changed, 6 insertions, 38 deletions
diff --git a/office/lout/lout.SlackBuild b/office/lout/lout.SlackBuild index b643f7844ceb..d857f6a0b3c5 100644 --- a/office/lout/lout.SlackBuild +++ b/office/lout/lout.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lout -VERSION=${VERSION:-3.42.2} +VERSION=${VERSION:-3.43} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,20 +51,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -74,12 +60,6 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - # fixed man page content sed -i "s/local\/lib/share/g" man/$PRGNAM.1 @@ -102,26 +82,14 @@ export ZLIB=-lz export ZLIBPATH= make -e all - -export PREFIX=$PKG/usr -export BINDIR=$PREFIX/bin -export LOUTLIBDIR=$PREFIX/share/$PRGNAM -export LOUTDOCDIR=$PREFIX/doc/$PRGNAM-$VERSION -export MANDIR=$PREFIX/man/man1/ - -mkdir -p $BINDIR -mkdir -p $LOUTDOCDIR -mkdir -p $MANDIR -mkdir -p $PREFIX/share - -make -e allinstall +make -e allinstall DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true 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 - +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/README cp $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/ mkdir -p $PKG/install diff --git a/office/lout/lout.info b/office/lout/lout.info index bb141da6bd3d..d97de182ca54 100644 --- a/office/lout/lout.info +++ b/office/lout/lout.info @@ -1,8 +1,8 @@ PRGNAM="lout" -VERSION="3.42.2" +VERSION="3.43" HOMEPAGE="https://github.com/william8000/lout" -DOWNLOAD="https://github.com/william8000/lout/archive/3.42.2/lout-3.42.2.tar.gz" -MD5SUM="9e18c17825ea207e370359af428b5cd8" +DOWNLOAD="https://github.com/william8000/lout/archive/3.43/lout-3.43.tar.gz" +MD5SUM="b498578b60f52909df014533f5c11401" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |