PKGBUILD: switch to meson

This commit is contained in:
Daniel Eklöf 2019-05-03 22:47:21 +02:00
parent 5ae658c8ed
commit 04f18f98c6
2 changed files with 6 additions and 6 deletions

View file

@ -1,11 +1,11 @@
pkgname=f00bar
pkgver=0.9.0.r162.g879d5ce
pkgver=0.9.0.r200.gaaa5239
pkgrel=1
pkgdesc="Simplistic and highly configurable status panel for X and Wayland"
arch=('x86_64')
url=https://gitlab.com/dnkl/f00bar
license=(mit)
makedepends=('scdoc')
makedepends=('meson' 'ninja' 'scdoc' 'gzip')
depends=(
'libxcb' 'xcb-util' 'xcb-util-cursor' 'xcb-util-wm'
'wayland' 'wlroots'
@ -23,7 +23,7 @@ pkgver() {
}
build() {
cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=/usr ../
meson --buildtype=minsize --prefix=/usr -Dbackend-x11=enabled -Dbackend-wayland=enabled ../
ninja
}