diff options
author | Christoph Willing <chris.willing@linux.com> | 2022-01-09 09:46:21 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-13 08:58:45 +0700 |
commit | 9cd27456b0d302f9e3d4ff84065f7b1fc2f02aba (patch) | |
tree | 634e5146929deaa6b591e0d63f582360a0647fb8 /audio/paprefs/paprefs.SlackBuild | |
parent | 999acdca40f2b3616fcfabd72ff320d4d45256b9 (diff) |
audio/paprefs: Updated for version 1.2
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/paprefs/paprefs.SlackBuild')
-rw-r--r-- | audio/paprefs/paprefs.SlackBuild | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/audio/paprefs/paprefs.SlackBuild b/audio/paprefs/paprefs.SlackBuild index 9c7495758973..850e26261ba7 100644 --- a/audio/paprefs/paprefs.SlackBuild +++ b/audio/paprefs/paprefs.SlackBuild @@ -8,7 +8,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=paprefs -VERSION=${VERSION:-0.9.10} +VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,23 +62,25 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS -std=c++11" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true -make -make install-strip DESTDIR=$PKG + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - ABOUT-NLS ChangeLog LICENSE README doc/README.html \ + LICENSE build/doc/README.html \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |