forked from external/yambar
32 lines
682 B
Bash
32 lines
682 B
Bash
pkgname=f00bar
|
|
pkgver=0.9.0.r85.g3b1998a
|
|
pkgrel=1
|
|
pkgdesc="Simplistic and highly configurable status panel for X"
|
|
arch=('x86_64')
|
|
url=https://gitlab.com/dnkl/f00bar
|
|
license=(mit)
|
|
depends=(
|
|
'libxcb' 'xcb-util' 'xcb-util-cursor' 'xcb-util-wm'
|
|
'wayland' 'wlroots'
|
|
'freetype2' 'fontconfig' 'cairo'
|
|
'libyaml'
|
|
'alsa-lib'
|
|
'libudev.so'
|
|
'json-c'
|
|
'libmpdclient'
|
|
'i3-wm')
|
|
optdepends=('xcb-util-errors: better X error messages')
|
|
source=()
|
|
|
|
pkgver() {
|
|
git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
|
}
|
|
|
|
build() {
|
|
cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=/usr ../
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="${pkgdir}/" ninja install
|
|
}
|