aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3status/APKBUILD
blob: 1e691344739bbd087f65883b693913563abed5fc (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer:
pkgname=i3status
pkgver=2.10
pkgrel=1
pkgdesc="Generates status bar to use with i3bar, dzen2 or xmobar"
url="http://i3.zekjur.net/i3status/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="libnl3-dev alsa-lib-dev confuse-dev yajl-dev
	asciidoc linux-headers"
install=""
subpackages="$pkgname-doc"
source="http://i3wm.org/i3status/${pkgname}-${pkgver}.tar.bz2
	musl-fix.patch
	no-pulseaudio.patch
	"

_builddir="$srcdir"/${pkgname}-${pkgver}
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir/" install || return 1
}

md5sums="1121f7c1c193c873982aba22668398ef  i3status-2.10.tar.bz2
75f4468573a132ae9fb255fb9a5531a7  musl-fix.patch
a24f6e7e3441625fdd93996d5f54e37c  no-pulseaudio.patch"
sha256sums="daf5d07611b054a43da1a3d28850b05e2dbdbd6d25fd5e25ede98bb1b66e2791  i3status-2.10.tar.bz2
e976f20fb165d2f96e7a49a95a2d5c803d882883dd4a87bfe20e62f85bf5fb4d  musl-fix.patch
0232899cba3aa89c34b53c2b8a2c2667ee8e949a92826a94370978d22f68284e  no-pulseaudio.patch"
sha512sums="a514331d83458de15b548686d423b38a7a9198a7a31ca3001f3f136e4b873617c397a0073bb10b44fa8613bc12ed4fa4e384d099d31122a8afbd0df5de2e9c85  i3status-2.10.tar.bz2
340c44f68b2f74c2f66314f515f6843a6ac609a4d203ceb152b662aa8822ed405ccbbe459ea2eb1b42891cea84e3b63d1ff3bfe478d7fa2fc6c8b51f39f12a00  musl-fix.patch
bb7fdd60b70545038b5120915fed796bf1e6259cb5eba15d9621db54870e634799024752588fd3e9a87efc6c97b410ccee4690eb66812054838b50771afe9799  no-pulseaudio.patch"