diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2022-12-22 21:15:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-22 21:15:51 +0700 |
commit | b8b3c374a69f01c581f411c863e7fb5429462503 (patch) | |
tree | b3e1056736361b74f44406eec8f993d5dfe1ee6a /audio/patchage/patchage.SlackBuild | |
parent | 3116f7deafee8d61a9286de57315e8fa727bd055 (diff) |
audio/patchage: Updated for version 1.0.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/patchage/patchage.SlackBuild')
-rw-r--r-- | audio/patchage/patchage.SlackBuild | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/audio/patchage/patchage.SlackBuild b/audio/patchage/patchage.SlackBuild index 1d00ae1e79de2..1b0ad06f3a4da 100644 --- a/audio/patchage/patchage.SlackBuild +++ b/audio/patchage/patchage.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=patchage -VERSION=${VERSION:-1.0.6} +VERSION=${VERSION:-1.0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,15 +76,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 {} \; -CFLAGS="$SLKCFLAGS" \ -./waf configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -./waf -./waf install --destdir=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=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 |