From 89d9f15f593478137c1e74d00ce8b5f86b22fd88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 31 Mar 2019 14:45:19 +0200 Subject: [PATCH] PKGBUILD: alternative PKGBIULD that configures f00bar for wayland only --- PKGBUILD.wayland-only | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 PKGBUILD.wayland-only diff --git a/PKGBUILD.wayland-only b/PKGBUILD.wayland-only new file mode 100644 index 0000000..cf64bb5 --- /dev/null +++ b/PKGBUILD.wayland-only @@ -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 +}