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

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

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

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

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

package () {
    DESTDIR=$PKG_DEST ninja install
}