summaryrefslogtreecommitdiffstats
path: root/libraries/libbsd
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libbsd')
-rw-r--r--libraries/libbsd/libbsd.SlackBuild19
-rw-r--r--libraries/libbsd/libbsd.info10
2 files changed, 15 insertions, 14 deletions
diff --git a/libraries/libbsd/libbsd.SlackBuild b/libraries/libbsd/libbsd.SlackBuild
index 97e6f58a7f..f86dd621de 100644
--- a/libraries/libbsd/libbsd.SlackBuild
+++ b/libraries/libbsd/libbsd.SlackBuild
@@ -1,6 +1,9 @@
#!/bin/sh
-# Copyright (c) 2010-2019 LEVAI Daniel
+# Slackware build script for libbsd
+
+# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright (c) 2010-2020 LEVAI Daniel
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,10 +28,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Build script for libbsd
-
PRGNAM=libbsd
-VERSION=${VERSION:-0.9.1}
+VERSION=${VERSION:-0.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,10 +70,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -82,7 +83,7 @@ CFLAGS="$SLKCFLAGS" \
--disable-static \
--build=$ARCH-slackware-linux
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
diff --git a/libraries/libbsd/libbsd.info b/libraries/libbsd/libbsd.info
index 6e29d8f457..d2e82cac1a 100644
--- a/libraries/libbsd/libbsd.info
+++ b/libraries/libbsd/libbsd.info
@@ -1,10 +1,10 @@
PRGNAM="libbsd"
-VERSION="0.9.1"
+VERSION="0.10.0"
HOMEPAGE="https://libbsd.freedesktop.org/wiki/"
-DOWNLOAD="https://libbsd.freedesktop.org/releases/libbsd-0.9.1.tar.xz"
-MD5SUM="a74b80c4143afa032c90226a4518fffe"
+DOWNLOAD="https://libbsd.freedesktop.org/releases/libbsd-0.10.0.tar.xz"
+MD5SUM="ead96d240d02faa5b921c0aa50c812b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="LEVAI Daniel"
-EMAIL="leva@ecentrum.hu"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"