summaryrefslogtreecommitdiff
path: root/repo/ncmpcpp/ncmpcpp.xibuild
blob: a54dccfb3e30e6f59ec647e3224bcb9548e2cec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

NAME="ncmpcpp"
DESC="Ncurses based MPD client inspired by ncmpc"

MAKEDEPS="make boost icu curl libmpdclient musl ncurses readline"

PKG_VER=0.9.2
SOURCE="https://github.com/ncmpcpp/ncmpcpp/archive/refs/tags/$PKG_VER.tar.gz"

prepare () {
    ./autogen.sh
}

build () {
    ./configure \
        BOOST_LIB_SUFFIX=-mt \
        --prefix=/usr \
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static \
        --enable-clock \
        --enable-visualizer 
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}