forked from external/yambar
PKGBUILD: alternative PKGBIULD that configures f00bar for wayland only
This commit is contained in:
parent
a8370d08d5
commit
89d9f15f59
1 changed files with 30 additions and 0 deletions
30
PKGBUILD.wayland-only
Normal file
30
PKGBUILD.wayland-only
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
pkgname=f00bar-wayland
|
||||||
|
pkgver=0.9.0.r159.g902245d
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Simplistic and highly configurable status panel for Wayland"
|
||||||
|
arch=('x86_64')
|
||||||
|
url=https://gitlab.com/dnkl/f00bar
|
||||||
|
license=(mit)
|
||||||
|
conflicts=('f00bar')
|
||||||
|
depends=(
|
||||||
|
'wayland' 'wlroots'
|
||||||
|
'freetype2' 'fontconfig' 'cairo'
|
||||||
|
'libyaml'
|
||||||
|
'alsa-lib'
|
||||||
|
'libudev.so'
|
||||||
|
'json-c'
|
||||||
|
'libmpdclient')
|
||||||
|
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 -DENABLE_X11=0 -DENABLE_WAYLAND=1 ../
|
||||||
|
ninja
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="${pkgdir}/" ninja install
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue