mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
32 lines
961 B
Bash
32 lines
961 B
Bash
# Contributions from Arch:
|
|
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
pkgname=libmpdclient
|
|
pkgver=2.16
|
|
pkgrel=1
|
|
pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages'
|
|
url='https://www.musicpd.org/libs/libmpdclient/'
|
|
license=('custom:BSD')
|
|
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}"
|
|
chakra-meson . build
|
|
ninja -C build
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
DESTDIR="${pkgdir}" ninja -C build install
|
|
|
|
cd "${pkgdir}"
|
|
install -d usr/share/licenses/libmpdclient
|
|
ln -s ../../doc/libmpdclient/COPYING usr/share/licenses/libmpdclient/COPYING
|
|
}
|