aboutsummaryrefslogtreecommitdiffstats
path: root/community/waybar/APKBUILD
blob: a84f3ba7a85bac1046bcdc6808831bb3080fd135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=waybar
pkgver=0.9.2
pkgrel=0
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"
makedepends="meson gtkmm3-dev jsoncpp-dev spdlog-dev fmt-dev libinput-dev
	libnl3-dev pulseaudio-dev libmpdclient-dev eudev-dev scdoc gtk-layer-shell-dev"
subpackages="$pkgname-doc"
source="Waybar-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz
	"
options="!check" # No test suite
builddir="$srcdir/Waybar-$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="4df4a947605d6f7d231497f2ed6646eaae8024c5d0aab35d39b50836a5e2de6634663fb6373f70fc3c370e124e130fdb978e7aeaebb2087566bbcad0ec6d5e75  Waybar-0.9.2.tar.gz"