aboutsummaryrefslogtreecommitdiff
path: root/system/vtcol
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-01-24 20:33:54 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:01 +0700
commit36a8b3db41ba562bd36328af932ae19ec4b878f1 (patch)
treea0a30c35da71daefba011e93e00b59d2807008d9 /system/vtcol
parent058448fcf58295783d2da45588054f87e49ddd55 (diff)
system/vtcol: Updated for version 0.42.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/vtcol')
-rw-r--r--system/vtcol/0001-Fix-building-against-current-rust-versions.patch.gzbin1518 -> 0 bytes
-rw-r--r--system/vtcol/vtcol.SlackBuild11
-rw-r--r--system/vtcol/vtcol.info6
3 files changed, 7 insertions, 10 deletions
diff --git a/system/vtcol/0001-Fix-building-against-current-rust-versions.patch.gz b/system/vtcol/0001-Fix-building-against-current-rust-versions.patch.gz
deleted file mode 100644
index 025e32c0ebe9d..0000000000000
--- a/system/vtcol/0001-Fix-building-against-current-rust-versions.patch.gz
+++ /dev/null
Binary files differ
diff --git a/system/vtcol/vtcol.SlackBuild b/system/vtcol/vtcol.SlackBuild
index fa1ba66b20186..6c126d3c5fbd8 100644
--- a/system/vtcol/vtcol.SlackBuild
+++ b/system/vtcol/vtcol.SlackBuild
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vtcol
-GITREV=${GITREV:-3592d70fd18686ca984db32204e6dcccd05731eb}
-VERSION=${VERSION:-git$(echo "$GITREV" | sed 's/^\(.\{7\}\).*$/\1/')}
+VERSION=${VERSION:-0.42.2}
VERSION_GETOPTS=${VERSION_GETOPTS:-0.2.14}
VERSION_LIBC=${VERSION_LIBC:-0.2.19}
BUILD=${BUILD:-1}
@@ -48,9 +47,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$GITREV
-tar xvf $CWD/$PRGNAM-$GITREV.tar.gz
-cd $PRGNAM-$GITREV
+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 \
@@ -58,8 +57,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-zcat $CWD/0001-Fix-building-against-current-rust-versions.patch.gz | patch -p1
-
# build offline
# configuration tells cargo to use the configured directory
# for dependencies intead of downloading from crates.io
diff --git a/system/vtcol/vtcol.info b/system/vtcol/vtcol.info
index 3c60ffdb737ac..c0eb91337673c 100644
--- a/system/vtcol/vtcol.info
+++ b/system/vtcol/vtcol.info
@@ -1,10 +1,10 @@
PRGNAM="vtcol"
-VERSION="git3592d70"
+VERSION="0.42.2"
HOMEPAGE="https://github.com/phi-gamma/vtcol"
-DOWNLOAD="https://github.com/phi-gamma/vtcol/archive/3592d70fd18686ca984db32204e6dcccd05731eb/vtcol-3592d70fd18686ca984db32204e6dcccd05731eb.tar.gz \
+DOWNLOAD="https://github.com/phi-gamma/vtcol/archive/v0.42.2/vtcol-0.42.2.tar.gz \
https://crates-io.s3-us-west-1.amazonaws.com/crates/getopts/getopts-0.2.14.crate \
https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.19.crate"
-MD5SUM="aa6837ebd9cd98ef49ddf87f6489f802 \
+MD5SUM="80091d0507aff4fe8bfb8d82e70a020c \
6d59f4fa29cab7bcc7ea7e0c8f96e27d \
604a2edfd52c6e87d8903ef2795da387"
DOWNLOAD_x86_64=""