diff options
author | Julian Grinblat <julian@dotcore.co.il> | 2021-05-29 23:20:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-29 23:20:53 +0700 |
commit | d0fc5b639e6c46edddbaaf3aebf7e7d7b56cde9c (patch) | |
tree | 0a1a35e600ed21e46a07927a4dfd80d0549f7a96 /desktop/i3-gaps/i3-gaps.SlackBuild | |
parent | b1700987f2d7bb827aa3f8d71eb782fd44255f6c (diff) |
desktop/i3-gaps: Updated for version 4.19.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/i3-gaps/i3-gaps.SlackBuild')
-rw-r--r-- | desktop/i3-gaps/i3-gaps.SlackBuild | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/desktop/i3-gaps/i3-gaps.SlackBuild b/desktop/i3-gaps/i3-gaps.SlackBuild index acab752bee43..4e173c22a0fa 100644 --- a/desktop/i3-gaps/i3-gaps.SlackBuild +++ b/desktop/i3-gaps/i3-gaps.SlackBuild @@ -28,7 +28,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=i3-gaps -VERSION=${VERSION:-4.18.3} +VERSION=${VERSION:-4.19.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -66,7 +66,6 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/i3-$VERSION.tar.gz -patch -p0 < $CWD/i3-gaps.patch cd i3-$VERSION chown -R root:root . find -L . \ @@ -75,24 +74,22 @@ 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 {} \; -autoreconf --force --install - -mkdir -p build -( cd build +mkdir build +cd build CFLAGS="$SLKCFLAGS" \ - ../configure \ - --prefix=/usr \ - --libdir=/usr/lib$LIBDIRSUFFIX \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ + --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var \ - --build=$ARCH-slackware-linux - - # V=1 makes build verbose - CFLAGS="$SLKCFLAGS" make V=1 - make install-strip DESTDIR=$PKG -) + -Ddocdir=/usr/doc/$PRGNAM-$VERSION + 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 @@ -132,7 +129,10 @@ make make test make install DESTDIR=$PKG -find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +find $PKG -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/AnyEvent-I3 cp -a Changes README MANIFEST $PKG/usr/doc/$PRGNAM-$VERSION/AnyEvent-I3/ |