diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-05-02 23:38:11 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-05-02 23:38:11 -0500 |
commit | 1f5a6e194218ef31994b679c7523fd9ec948a716 (patch) | |
tree | 740b890814d457a2b024cc8e77bfc47d1d795d79 /system/d-feet/d-feet.SlackBuild | |
parent | d5c74734ed2345873692360e040b7034b344caea (diff) |
system/d-feet: Updated for version 0.3.15.
Diffstat (limited to 'system/d-feet/d-feet.SlackBuild')
-rw-r--r-- | system/d-feet/d-feet.SlackBuild | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/system/d-feet/d-feet.SlackBuild b/system/d-feet/d-feet.SlackBuild index b0da3a0878d4..a38dc2437410 100644 --- a/system/d-feet/d-feet.SlackBuild +++ b/system/d-feet/d-feet.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for d-feet -# Copyright 2010,2016,2017 Robby Workman, Tuscaloosa, Alabama, USA +# Copyright 2010-2021 Robby Workman, Tuscaloosa, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=d-feet -VERSION=${VERSION:-0.3.11} +VERSION=${VERSION:-0.3.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,25 +69,28 @@ find -L . \ \( -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" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-tests \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --buildtype=release \ + -Dtests=false + ninja + DESTDIR=$PKG ninja install +cd .. 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING HACKING NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |