summaryrefslogtreecommitdiff
path: root/libraries/libbsd
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-01-28 11:10:43 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-01 09:00:31 +0700
commit439b6a82ba4e1cadca027297837d8a1bdf7e688a (patch)
treece56db96bd4268cf787d3f9a4c366c22f3107d9f /libraries/libbsd
parentb6d3af863a3dbed7bdfa20a278b22663b84b52ba (diff)
downloadslackbuilds-439b6a82ba4e1cadca027297837d8a1bdf7e688a.tar.gz
libraries/libbsd: Changed maintainer, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libbsd')
-rw-r--r--libraries/libbsd/libbsd.SlackBuild15
-rw-r--r--libraries/libbsd/libbsd.info4
2 files changed, 10 insertions, 9 deletions
diff --git a/libraries/libbsd/libbsd.SlackBuild b/libraries/libbsd/libbsd.SlackBuild
index 40f2d2508d..f86dd621de 100644
--- a/libraries/libbsd/libbsd.SlackBuild
+++ b/libraries/libbsd/libbsd.SlackBuild
@@ -1,5 +1,8 @@
#!/bin/sh
+# Slackware build script for libbsd
+
+# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright (c) 2010-2020 LEVAI Daniel
# All rights reserved.
#
@@ -25,8 +28,6 @@
# (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.10.0}
BUILD=${BUILD:-1}
@@ -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 d01322ac17..d2e82cac1a 100644
--- a/libraries/libbsd/libbsd.info
+++ b/libraries/libbsd/libbsd.info
@@ -6,5 +6,5 @@ MD5SUM="ead96d240d02faa5b921c0aa50c812b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="LEVAI Daniel"
-EMAIL="leva@ecentrum.hu"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"