network/conkeror: Updated for version 1.0.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Azure Zanculmarktum 2018-03-16 17:46:50 +07:00 committed by Willy Sudiarto Raharjo
parent d38261a623
commit 2ed6c9ff16
2 changed files with 16 additions and 15 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="conkeror"
VERSION="1.0.3"
VERSION="1.0.4"
HOMEPAGE="http://conkeror.org/"
DOWNLOAD="http://repo.or.cz/conkeror.git/snapshot/11121bed996ce84e3536c3c8266cdf3164e02b5a.tar.gz"
MD5SUM="66d0f835762994225e62b04035402e39"
DOWNLOAD="http://repo.or.cz/conkeror.git/snapshot/685f24e3aeffc408dcea883e1d0c738cb18bbe8d.tar.gz"
MD5SUM="32d91dc6bc393c722423fa96e91cb87e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""