libraries/libbsd: Changed maintainer, cleanups.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2020-01-28 11:10:43 +01:00 committed by Willy Sudiarto Raharjo
parent b6d3af863a
commit 439b6a82ba
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 10 additions and 9 deletions

View file

@ -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 {} \;

View file

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