APKBUILD 961 Bytes
Newer Older
Luca Weiss's avatar
Luca Weiss committed
1
2
# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
Leo's avatar
Leo committed
3
pkgname=waybar
Leo's avatar
Leo committed
4
pkgver=0.9.5
Leo's avatar
Leo committed
5
pkgrel=0
Luca Weiss's avatar
Luca Weiss committed
6
7
8
9
10
pkgdesc="Highly customizable Wayland bar for Sway and Wlroots based compositors"
url="https://github.com/Alexays/Waybar/"
arch="all"
license="MIT"
depends="ttf-font-awesome"
11
makedepends="meson gtkmm3-dev jsoncpp-dev spdlog-dev fmt-dev libinput-dev date-dev
12
	libnl3-dev pulseaudio-dev libmpdclient-dev eudev-dev scdoc gtk-layer-shell-dev"
Leo's avatar
Leo committed
13
subpackages="$pkgname-doc"
14
15
source="Waybar-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz
	"
Luca Weiss's avatar
Luca Weiss committed
16
17
18
19
options="!check" # No test suite
builddir="$srcdir/Waybar-$pkgver"

build() {
20
	abuild-meson . output
21
	meson compile ${JOBS:+-j ${JOBS}} -C output
Luca Weiss's avatar
Luca Weiss committed
22
23
24
}

package() {
25
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
Luca Weiss's avatar
Luca Weiss committed
26
27
}

Leo's avatar
Leo committed
28
sha512sums="0bbb9e898e205728fc564389927fec661a8dd6a9995a6c5d318f930f4527d6afd0be11a6b71dfa9aafb05c982e0f131e51eb0eec9a3e92c28f5cb04ff780fa8b  Waybar-0.9.5.tar.gz"