summaryrefslogtreecommitdiff
path: root/libraries/vte3/vte3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/vte3/vte3.SlackBuild')
-rw-r--r--libraries/vte3/vte3.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/vte3/vte3.SlackBuild b/libraries/vte3/vte3.SlackBuild
index 4182387917..61a4884722 100644
--- a/libraries/vte3/vte3.SlackBuild
+++ b/libraries/vte3/vte3.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for vte3
-# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,11 +24,10 @@
SRCNAM=vte
PRGNAM=vte3
-VERSION=${VERSION:-0.34.2}
+VERSION=${VERSION:-0.34.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
@@ -56,11 +55,13 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
# Make sure ownerships and permissions are sane:
@@ -72,7 +73,7 @@ find . \
-exec chmod 644 {} \;
# https://bugzilla.gnome.org/show_bug.cgi?id=663779
-zcat $CWD/fix_meta_alt_keybinding.patch.gz | patch -p1 || exit 1
+patch -p1 < $CWD/fix_meta_alt_keybinding.patch
# Configure:
CFLAGS="$SLKCFLAGS" \