diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 54 |
2 files changed, 28 insertions, 44 deletions
@@ -1,6 +1,6 @@ pkgbase = yambar-git pkgdesc = Modular status panel for X11 and Wayland, inspired by polybar (source from git) - pkgver = 1.6.1.r60.g18a0920 + pkgver = 1.11.0.r15.g739dc30 pkgrel = 1 url = https://codeberg.org/dnkl/yambar arch = x86_64 @@ -8,29 +8,29 @@ pkgbase = yambar-git license = MIT makedepends = git makedepends = meson - makedepends = ninja makedepends = scdoc - makedepends = tllist>=1.0.1 + makedepends = tllist makedepends = wayland-protocols makedepends = xorgproto - depends = alsa-lib - depends = fcft>=3.0.0 - depends = json-c - depends = libmpdclient + depends = fcft depends = libpulse depends = libudev.so depends = libxcb depends = libyaml + depends = libpipewire-0.3.so depends = pipewire depends = pixman depends = wayland depends = xcb-util depends = xcb-util-cursor depends = xcb-util-wm + optdepends = alsa-lib: ALSA module + optdepends = json-c: XKB module + optdepends = libmpdclient: MPD module optdepends = xcb-util-errors: better X error messages - provides = yambar=1.6.1.r60.g18a0920 + provides = yambar=1.11.0.r15.g739dc30 conflicts = yambar source = git+https://codeberg.org/dnkl/yambar.git - sha256sums = SKIP + b2sums = SKIP pkgname = yambar-git @@ -1,44 +1,28 @@ -# Maintainer: Ben Brown <ben at demerara dot io> +# Contributor: éclairevoyant +# Contributor: Ben Brown <ben at demerara dot io> # Contributor: PedroHLC <root@pedrohlc.com> # Contributor: Moritz Poldrack <moritz at poldrack dot dev> # Contributor: dnkl _pkgname=yambar pkgname="${_pkgname}-git" -pkgver=1.9.0.r41.g971361b +pkgver=1.11.0.r15.g739dc30 pkgrel=1 pkgdesc='Modular status panel for X11 and Wayland, inspired by polybar (source from git)' -arch=('x86_64' 'aarch64') -url='https://codeberg.org/dnkl/yambar' -license=('MIT') -makedepends=( - 'git' - 'meson' - 'ninja' - 'scdoc' - 'tllist>=1.0.1' - 'wayland-protocols' - 'xorgproto') -depends=( - 'alsa-lib' - 'fcft>=3.0.0' - 'json-c' - 'libmpdclient' - 'libpulse' - 'libudev.so' - 'libxcb' - 'libyaml' - 'pipewire' - 'pixman' - 'wayland' - 'xcb-util' - 'xcb-util-cursor' - 'xcb-util-wm') -optdepends=('xcb-util-errors: better X error messages') +arch=(x86_64 aarch64) +url="https://codeberg.org/dnkl/yambar" +license=("MIT") +depends=(fcft libpulse libudev.so libxcb libyaml libpipewire-0.3.so pipewire pixman + wayland xcb-util xcb-util-cursor xcb-util-wm) +makedepends=(git meson scdoc tllist wayland-protocols xorgproto) +optdepends=('alsa-lib: ALSA module' + 'json-c: XKB module' + 'libmpdclient: MPD module' + 'xcb-util-errors: better X error messages') provides=("${_pkgname}=$pkgver") conflicts=("${_pkgname}") -source=('git+https://codeberg.org/dnkl/yambar.git') -sha256sums=('SKIP') +source=("git+https://codeberg.org/dnkl/yambar.git") +b2sums=('SKIP') pkgver() { cd "${_pkgname}" @@ -46,17 +30,17 @@ pkgver() { } build() { - cd "${_pkgname}" meson setup --buildtype=release --prefix=/usr \ --wrap-mode=nofallback \ -Db_lto=true \ -Dbackend-x11=enabled -Dbackend-wayland=enabled \ - build + ${_pkgname} build meson compile -C build } - package() { - cd "${_pkgname}" meson install -C build --destdir "${pkgdir}" + + install -d "$pkgdir/usr/share/licenses/$_pkgname/" + ln -s '/usr/share/doc/yambar/LICENSE' "$pkgdir/usr/share/licenses/$_pkgname/" } |