aboutsummaryrefslogtreecommitdiff
path: root/system/terminator
diff options
context:
space:
mode:
authorAlan Alberghini <414N@slacky.it>2016-11-26 15:31:51 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-03 07:17:45 +0700
commitd491ab76f47addeb472710e4ddbe2eb87ea9309e (patch)
tree687ca55142a8651401bdd1ff790b6b434b435f35 /system/terminator
parent96bfa07d0c5186f719ce0370efd6fc9f2edf4005 (diff)
system/terminator: Updated for version 1.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/terminator')
-rw-r--r--system/terminator/terminator.SlackBuild19
-rw-r--r--system/terminator/terminator.info6
2 files changed, 14 insertions, 11 deletions
diff --git a/system/terminator/terminator.SlackBuild b/system/terminator/terminator.SlackBuild
index ddfa0e7a83dbc..54a7a4ce2fc4a 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 db3ac62b12c27..5504583dabeba 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=""