[arch-commits] Commit in libmpdclient/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Wed Nov 24 21:43:33 UTC 2021


    Date: Wednesday, November 24, 2021 @ 21:43:33
  Author: dvzrv
Revision: 429084

upgpkg: libmpdclient 2.20-1: Upgrade to 2.20.

Simplify quoting in file.
Use arch-meson to simplify building with meson.

Modified:
  libmpdclient/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-24 20:58:06 UTC (rev 429083)
+++ PKGBUILD	2021-11-24 21:43:33 UTC (rev 429084)
@@ -3,33 +3,25 @@
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=libmpdclient
-pkgver=2.19
-pkgrel=3
+pkgver=2.20
+pkgrel=1
 pkgdesc="C library to implement a MPD client"
+arch=(x86_64)
 url="https://www.musicpd.org/libs/libmpdclient/"
-license=('BSD')
-arch=('x86_64')
-depends=('glibc')
-makedepends=('meson')
-provides=('libmpdclient.so')
+license=(BSD)
+depends=(glibc)
+makedepends=(meson)
+provides=(libmpdclient.so)
 source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
-sha512sums=('5d67b95d4b615bc750641f6d5a0240122e8f59c66108838a96bd4bc5cdda8b15288ad03d0e35d92d6e562e67c600f68aad643ca541092121074952a1bc5b3590'
+sha512sums=('3271c8eae017402976dbfabc51c7cb8d39912c8a3fd6cd075adc978d490f2eb850d86ccec9f7bccbda48c9d6ca1cda89918ac7c76b21f7f63ca1a276b67e94b6'
             'SKIP')
-b2sums=('c045c4847d43f166a3e1549654784bd994fa4156e3ecebf7c02a412b34ca150940f3c43cdc385839cd7c281bd4ed4fd1935b757d8505133d146ea955ec2d0832'
+b2sums=('d80c343d7655ccddb253275694d40665d286bf9c59729d0c836c927ab479b1ab4819f36a69c62a29c3ad220fcbfa712da5418cf8c3cc9f9e24af4e3c39ce1e11'
         'SKIP')
 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max at blarg.de>
 
 build() {
   cd "${pkgname}-${pkgver}"
-  meson --prefix /usr \
-        --libexecdir lib \
-        --sbindir bin \
-        --buildtype plain \
-        --auto-features enabled \
-        --wrap-mode nodownload \
-        -D b_lto=true \
-        -D b_pie=true \
-        build
+  arch-meson build
   ninja -C build
 }
 



More information about the arch-commits mailing list