diff options
-rw-r--r-- | system/terminator/terminator.SlackBuild | 19 | ||||
-rw-r--r-- | system/terminator/terminator.info | 6 |
2 files changed, 14 insertions, 11 deletions
diff --git a/system/terminator/terminator.SlackBuild b/system/terminator/terminator.SlackBuild index ddfa0e7a83db..54a7a4ce2fc4 100644 --- a/system/terminator/terminator.SlackBuild +++ b/system/terminator/terminator.SlackBuild @@ -29,15 +29,16 @@ # 20120916 - Removed icon-theme.cache from the package # 20130530 - Updated for version 0.97 # 20160625 - Updated for version 0.98 (thanks to Andrzej Telszewski) +# 20161126 - Updated for version 1.0 PRGNAM=terminator -VERSION=${VERSION:-0.98} +VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} 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 @@ -50,8 +51,8 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="INSTALL COPYING RELEASING README ChangeLog" -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" @@ -88,8 +89,8 @@ sed -i "s|share/man|man|g" setup.py CFLAGS=$SLKCFLAGS \ ./setup.py --no-user-cfg --without-icon-cache install --prefix=/usr --root=$PKG -rm $PKG/usr/doc/$PRGNAM-$VERSION/apidoc/.buildinfo -rm $PKG/usr/doc/$PRGNAM-$VERSION/html/.buildinfo +rm -f $PKG/usr/doc/$PRGNAM-$VERSION/apidoc/.buildinfo +rm -f $PKG/usr/doc/$PRGNAM-$VERSION/html/.buildinfo find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -98,12 +99,14 @@ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + $DOCS \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/terminator/terminator.info b/system/terminator/terminator.info index db3ac62b12c2..5504583dabeb 100644 --- a/system/terminator/terminator.info +++ b/system/terminator/terminator.info @@ -1,8 +1,8 @@ PRGNAM="terminator" -VERSION="0.98" +VERSION="1.0" HOMEPAGE="https://launchpad.net/terminator/" -DOWNLOAD="https://launchpad.net/terminator/trunk/0.98/+download/terminator-0.98.tar.gz" -MD5SUM="241af292fe16bed290052b86adb30b80" +DOWNLOAD="https://launchpad.net/terminator/trunk/1.0/+download/terminator-1.0.tar.gz" +MD5SUM="26b2c80a30bead957b83cef3a2b9101f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |