summaryrefslogtreecommitdiffstats
path: root/source/xfce/garcon/garcon.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-12-11 01:16:11 +0000
committer Eric Hameleers <alien@slackware.com>2018-12-11 08:59:44 +0100
commit45518aeb4db505f4d0883511e03f2e9c962a1dab (patch)
tree2ccc53bc9c561613879f0f17ce65fd8a1f756898 /source/xfce/garcon/garcon.SlackBuild
parent93c8e9107beee248e384242bc1f34da41447ba13 (diff)
downloadcurrent-45518aeb4db505f4d0883511e03f2e9c962a1dab.tar.gz
current-45518aeb4db505f4d0883511e03f2e9c962a1dab.tar.xz
Tue Dec 11 01:16:11 UTC 201820181211011611
a/hwdata-0.318-noarch-1.txz: Upgraded. d/git-2.20.0-x86_64-1.txz: Upgraded. d/meson-0.49.0-x86_64-1.txz: Upgraded. l/ffmpeg-3.4.5-x86_64-1.txz: Upgraded. l/gobject-introspection-1.58.2-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_16-x86_64-1.txz: Upgraded. l/mozilla-nss-3.41-x86_64-1.txz: Upgraded. l/python-requests-2.21.0-x86_64-1.txz: Upgraded. n/libgpg-error-1.33-x86_64-1.txz: Upgraded. xfce/garcon-0.6.2-x86_64-1.txz: Upgraded. extra/pure-alsa-system/ffmpeg-3.4.5-x86_64-1_alsa.txz: Upgraded.
Diffstat (limited to 'source/xfce/garcon/garcon.SlackBuild')
-rwxr-xr-xsource/xfce/garcon/garcon.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/xfce/garcon/garcon.SlackBuild b/source/xfce/garcon/garcon.SlackBuild
index 4d560679b..3954dc4e9 100755
--- a/source/xfce/garcon/garcon.SlackBuild
+++ b/source/xfce/garcon/garcon.SlackBuild
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=garcon
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
MARCH=$( uname -m )
@@ -70,7 +70,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
@@ -80,6 +80,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+if [ ! -r configure ]; then
+ NOCONFIGURE=1 ./autogen.sh
+fi
+
# Configure:
CFLAGS="$SLKCFLAGS" \
./configure \