[skip-ci] libmpdclient: update to 2.16

This commit is contained in:
Jeff Huang 2018-11-01 03:38:55 +01:00
parent f04c92abed
commit d567dfbed0

View File

@ -1,29 +1,29 @@
#
# Apps Packages for Chakra, part of chakraos.org
#
# maintainer (x86_64): almack
# include global config
# Contributions from Arch:
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=libmpdclient
pkgver=2.10
pkgver=2.16
pkgrel=1
pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages'
arch=('x86_64')
url='http://www.musicpd.org/libs/libmpdclient/'
url='https://www.musicpd.org/libs/libmpdclient/'
license=('custom:BSD')
source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
sha1sums=('32e090b70fa91978734830c67527e8e2fca70225')
arch=('x86_64')
makedepends=('meson')
validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=('fa6bdab67c0e0490302b38f00c27b4959735c3ec8aef7a88327adb1407654464'
'SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-documentation
make
chakra-meson . build
ninja -C build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
DESTDIR="${pkgdir}" ninja -C build install
cd "${pkgdir}"
install -d usr/share/licenses/libmpdclient