development/mold: Updated for version 1.4.1.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
xaizek 2022-08-19 00:49:13 +01:00 committed by Willy Sudiarto Raharjo
parent 59b8108d1c
commit da1aa36e29
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 7 deletions

View File

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mold
VERSION=${VERSION:-1.4.0}
VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -80,7 +80,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG PREFIX=/usr LIBDIR=/usr/lib64 MANDIR=/usr/man
make install DESTDIR=$PKG \
PREFIX=/usr LIBDIR=/usr/lib64 MANDIR=/usr/man DOCDIR=/usr/doc
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
@ -88,9 +89,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE README.md \
README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,8 +1,8 @@
PRGNAM="mold"
VERSION="1.4.0"
VERSION="1.4.1"
HOMEPAGE="https://github.com/rui314/mold"
DOWNLOAD="https://github.com/rui314/mold/archive/v1.4.0/mold-1.4.0.tar.gz"
MD5SUM="2057603a4f8068e062b86dde6ba5c0f0"
DOWNLOAD="https://github.com/rui314/mold/archive/v1.4.1/mold-1.4.1.tar.gz"
MD5SUM="e21fff1962e98787ea0636d68d6369af"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""