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

NAME="mpd"
DESC="Minimalist command line interface to MPD"

MAKEDEPS="meson ninja "
DEPS="musl libmpdclient "

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

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

package () {
    DESTDIR=$PKG_DEST ninja install
}