summaryrefslogtreecommitdiff
path: root/repo/libmpdclient/libmpdclient.xibuild
blob: a5bb43ecd6c38d9688b7b40be36a672766f5ebb5 (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.20
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
}