aboutsummaryrefslogtreecommitdiffstats
path: root/community/i3status/APKBUILD
blob: 459f9ef8e24ef34b6d73c01f4d07f2dd88b19ee7 (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
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=i3status
pkgver=2.13
pkgrel=3
pkgdesc="Generates status bar for dzen2, xmobar or similar"
url="https://i3.zekjur.net/i3status"
arch="all"
license="BSD-3-Clause"
options="!check" # No test suite
makedepends="alsa-lib-dev asciidoc autoconf automake confuse-dev libnl3-dev linux-headers yajl-dev xmlto"
subpackages="$pkgname-doc"
source="https://i3wm.org/i3status/i3status-$pkgver.tar.bz2
	no-pulseaudio.patch
	"

build() {
	autoreconf -vif
	mkdir -p build && cd build
	../configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-pulseaudio
	make
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install
}

sha512sums="6dadff19e53499d169ba4f491e1f821014b4f92fc3c93d7947c85cbbbdeaba538d02bd8ab98fe266a8f80756a287fd5803ec77a8cd874d50082b5cad309875c2  i3status-2.13.tar.bz2
759f8e8aba9e5b5b6d390935c440ecfab2a1aaffb92b9cc20aec80e8f0bce2f0b79119991aee349573daf55b421bc1f80a5dc69e554fd16ff7e0ddf69d24c39b  no-pulseaudio.patch"