summaryrefslogtreecommitdiff
path: root/network/conkeror/conkeror.SlackBuild
diff options
context:
space:
mode:
authorAzure Zanculmarktum <zanculmarktum@gmail.com>2018-03-16 17:46:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-16 17:46:50 +0700
commit2ed6c9ff16a015ddcf60a7a5338330bbbe60c196 (patch)
treef110ca03959a47f3078b868fa982330ce91c6be3 /network/conkeror/conkeror.SlackBuild
parentd38261a6232b1e21c5287fe4c8c1844809e15591 (diff)
downloadslackbuilds-2ed6c9ff16a015ddcf60a7a5338330bbbe60c196.tar.gz
network/conkeror: Updated for version 1.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/conkeror/conkeror.SlackBuild')
-rw-r--r--network/conkeror/conkeror.SlackBuild25
1 files changed, 13 insertions, 12 deletions
diff --git a/network/conkeror/conkeror.SlackBuild b/network/conkeror/conkeror.SlackBuild
index 5e33fd0afa..5701e7d341 100644
--- a/network/conkeror/conkeror.SlackBuild
+++ b/network/conkeror/conkeror.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for conkeror
-# Copyright 2017 Azure Zanculmarktum <zanculmarktum@gmail.com>
+# Copyright 2017-2018 Azure Zanculmarktum <zanculmarktum@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=conkeror
-VERSION=${VERSION:-1.0.3}
+VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=11121bed996ce84e3536c3c8266cdf3164e02b5a
+SRCVER=685f24e3aeffc408dcea883e1d0c738cb18bbe8d
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -61,13 +61,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-${SRCVERSION%?????????????????????????????????}
-if [ -f "$CWD/$PRGNAM-${SRCVERSION%?????????????????????????????????}.tar.gz" ]; then
- tar xvf $CWD/$PRGNAM-${SRCVERSION%?????????????????????????????????}.tar.gz
+rm -rf $PRGNAM-${SRCVER%${SRCVER#???????}}
+if [ -f "$CWD/$PRGNAM-${SRCVER%${SRCVER#???????}}.tar.gz" ]; then
+ tar xvf $CWD/$PRGNAM-${SRCVER%${SRCVER#???????}}.tar.gz
else
- tar xvf $CWD/$SRCVERSION.tar.gz
+ tar xvf $CWD/$SRCVER.tar.gz
fi
-cd $PRGNAM-${SRCVERSION%?????????????????????????????????}
+cd $PRGNAM-${SRCVER%${SRCVER#???????}}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,10 +75,11 @@ 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 {} \;
-sed -i 's@^\(CFLAGS \)?\(= \).*@\1\2'"$SLKCFLAGS"'@
-s@^\(PREFIX \)?\(= \).*@\1\2/usr@
-s@^\(MANPREFIX \)?\(= \).*@\1\2/usr/man@
-s@\(\$(DESTDIR)\)/\$(PREFIX)/share/doc/conkeror@\1/usr/doc/'"$PRGNAM-$VERSION"'@g' \
+sed -i \
+ -e '/^CFLAGS/s@^\(CFLAGS \)?\(= \).*@\1\2'"$SLKCFLAGS"'@' \
+ -e '/^PREFIX/s@^\(PREFIX \)?\(= \).*@\1\2/usr@' \
+ -e '/^MANPREFIX/s@^\(MANPREFIX \)?\(= \).*@\1\2/usr/man@' \
+ -e '/\$(DESTDIR)\/\$(PREFIX)/s@\(\$(DESTDIR)\)/\$(PREFIX)/share/doc/conkeror@\1/usr/doc/'"$PRGNAM-$VERSION"'@g' \
Makefile
make