summaryrefslogtreecommitdiffstats
path: root/office/lowdown
diff options
context:
space:
mode:
Diffstat (limited to 'office/lowdown')
-rw-r--r--office/lowdown/lowdown.SlackBuild19
-rw-r--r--office/lowdown/lowdown.info6
2 files changed, 14 insertions, 11 deletions
diff --git a/office/lowdown/lowdown.SlackBuild b/office/lowdown/lowdown.SlackBuild
index 0cec5d0642..1506ff082f 100644
--- a/office/lowdown/lowdown.SlackBuild
+++ b/office/lowdown/lowdown.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lowdown
-# Copyright 2019-2022 Pouria Rezaei <Pouria.rz@outlook.com>
+# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.com>
# Copyright 2020, Charles A. Daniels, United States
# All rights reserved.
#
@@ -23,10 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230831 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install the shared library, because lowdown's one dependee, nix,
+# requires it. these two builds have the same maintainer, who is not
+# responding to email.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lowdown
-VERSION=${VERSION:-0.11.2}
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -76,9 +78,9 @@ 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" \
CXXFLAGS="$SLKCFLAGS" \
@@ -87,7 +89,8 @@ CXXFLAGS="$SLKCFLAGS" \
LIBDIR=/usr/lib${LIBDIRSUFFIX}
make
-make install DESTDIR=$PKG
+make install install_shared DESTDIR=$PKG
+chmod 0755 $PKG/usr/lib$LIBDIRSUFFIX/liblowdown.so.1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/office/lowdown/lowdown.info b/office/lowdown/lowdown.info
index ebff1c430b..f21b46bbd7 100644
--- a/office/lowdown/lowdown.info
+++ b/office/lowdown/lowdown.info
@@ -1,8 +1,8 @@
PRGNAM="lowdown"
-VERSION="0.11.2"
+VERSION="1.1.0"
HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
-DOWNLOAD="https://kristaps.bsd.lv/lowdown/snapshots/lowdown-0.11.2.tar.gz"
-MD5SUM="3b3e570d568b5b7a556c9b6b0ebbf8c8"
+DOWNLOAD="https://kristaps.bsd.lv/lowdown/snapshots/lowdown-1.1.0.tar.gz"
+MD5SUM="b4246cabfc55fab7fa4f948202f3807f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""