summaryrefslogtreecommitdiffstats
path: root/network/lurch
diff options
context:
space:
mode:
Diffstat (limited to 'network/lurch')
-rw-r--r--network/lurch/lurch.SlackBuild27
-rw-r--r--network/lurch/lurch.info6
2 files changed, 18 insertions, 15 deletions
diff --git a/network/lurch/lurch.SlackBuild b/network/lurch/lurch.SlackBuild
index 342ceb99f6..38d63c172c 100644
--- a/network/lurch/lurch.SlackBuild
+++ b/network/lurch/lurch.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lurch
-# Copyright 2017 - 2019 Johannes Schoepfer, Germany
+# Copyright 2017-2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lurch
-VERSION=${VERSION:-0.6.8}
+VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,23 +38,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -65,11 +68,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
-CFLAGS="$SLKCFLAGS" make -j1
+CFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -83,4 +86,4 @@ mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/lurch/lurch.info b/network/lurch/lurch.info
index f6fdbb3742..3633a45331 100644
--- a/network/lurch/lurch.info
+++ b/network/lurch/lurch.info
@@ -1,8 +1,8 @@
PRGNAM="lurch"
-VERSION="0.6.8"
+VERSION="0.7.0"
HOMEPAGE="https://github.com/gkdr/lurch"
-DOWNLOAD="https://github.com/gkdr/lurch/releases/download/v0.6.8/lurch-0.6.8-src.tar.gz"
-MD5SUM="8744e8f5fbc32de10add88b41e3e0a46"
+DOWNLOAD="https://github.com/gkdr/lurch/releases/download/v0.7.0/lurch-0.7.0-src.tar.gz"
+MD5SUM="2aaac68870c0ed376c5a6a54cd45e121"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mxml"