extra/libmpdclient to 2.20-1

This commit is contained in:
David Beauchamp 2021-11-24 19:59:11 -05:00
parent 83b46b55cc
commit 4a9c509c4c

View file

@ -6,33 +6,26 @@
# - set b_lto=false in meson arguments
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@blarg.de>
build() {
cd "${pkgname}-${pkgver}"
meson --prefix /usr \
--libexecdir lib \
--sbindir bin \
--buildtype plain \
--auto-features enabled \
--wrap-mode nodownload \
-D b_lto=false \
-D b_pie=true \
build
arch-meson -D b_lto=false \
build
ninja -C build
}