summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-07-23 15:47:57 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-07-23 15:47:57 +0100
commit3b5fc23028121a86d2378b2bb6f184cd6245feda (patch)
tree0b859d833a0616cd7000f5c0d39af696306812ab
parentd3a6944457189881b4df0a654c9db875934125af (diff)
downloadslackbuilds-3b5fc23028121a86d2378b2bb6f184cd6245feda.tar.gz
system/evilvte: Updated for version 20140330.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--system/evilvte/evilvte.SlackBuild26
-rw-r--r--system/evilvte/evilvte.info6
2 files changed, 19 insertions, 13 deletions
diff --git a/system/evilvte/evilvte.SlackBuild b/system/evilvte/evilvte.SlackBuild
index e7d45e9947..40d9bb2671 100644
--- a/system/evilvte/evilvte.SlackBuild
+++ b/system/evilvte/evilvte.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for evilvte.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=evilvte
-VERSION=${VERSION:-0.5.2}
+VERSION=${VERSION:-20140330}
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
@@ -40,8 +40,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"
@@ -56,13 +56,13 @@ fi
set -e
-SRCVER="0.5.2~pre1"
+SRCVER=${SRCVER:-8dfa41e26bc640dd8d8c7317ff7d04e3c01ded8a}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
mv $PRGNAM-$SRCVER $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -75,7 +75,14 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
make
make install DESTDIR=$PKG
@@ -88,8 +95,7 @@ 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 ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a gpl-2.0.txt $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
+cp ChangeLog gpl-2.0.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/evilvte/evilvte.info b/system/evilvte/evilvte.info
index 01f74b193c..e4cd913dd5 100644
--- a/system/evilvte/evilvte.info
+++ b/system/evilvte/evilvte.info
@@ -1,8 +1,8 @@
PRGNAM="evilvte"
-VERSION="0.5.2"
+VERSION="20140330"
HOMEPAGE="http://www.calno.com/evilvte/"
-DOWNLOAD="http://www.calno.com/evilvte/evilvte-0.5.2~pre1.tar.xz"
-MD5SUM="caab340cb7bf10e86049fc317a65829a"
+DOWNLOAD="https://github.com/caleb-/evilvte/archive/8dfa41e26bc640dd8d8c7317ff7d04e3c01ded8a.tar.gz"
+MD5SUM="e09c34ac7d5afaf6ca785b7984df70ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""