summaryrefslogtreecommitdiff
path: root/skip/polybar.xibuild
blob: 9c07012bb5088f86eed845de63e40b58681c02a7 (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
#!/bin/sh

MAKEDEPS="make"
DEPS="cairo xcb-util-image xcb-util-wm xcb-util-xrm xcb-util-cursor alsa-lib libpulse libmpdclient libnl  jsoncpp curl"

PKG_VER=3.5.7
SOURCE=https://github.com/polybar/polybar/releases/download/$PKG_VER/polybar-$PKG_VER.tar.gz

DESC="A fast and easy status bar"

build () {
    mkdir build &&
    cd build

    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
    cmake --build .

    cd ..
}

package () {
    cmake --build "build" --target install -- DESTDIR=$PKG_DEST

}