summaryrefslogtreecommitdiff
path: root/repo/media/libmpdclient.xibuild
blob: a80ad578da25c81c8ddcf502be2173bb9b329934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

NAME="libmpdclient"
DESC="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages"

MAKEDEPS="meson ninja "
DEPS="musl"

PKG_VER=2.19
SOURCE="https://www.musicpd.org/download/libmpdclient/${PKG_VER%.*}/libmpdclient-$PKG_VER.tar.xz"

build () {
    cd build    &&
    meson --prefix=/usr .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}