aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3status/APKBUILD
blob: 7fef04f4c75be9b901ec00ed1e06f5067827a211 (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
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer:
pkgname=i3status
pkgver=2.8
pkgrel=0
pkgdesc="Generates status bar to use with i3bar, dzen2 or xmobar"
url="http://i3.zekjur.net/i3status/"
arch="all"
license="BSD"
depends=""
depends_dev="wireless-tools-dev alsa-lib-dev confuse-dev yajl-dev"
makedepends="$depends_dev asciidoc"
install=""
subpackages=""
source="http://i3wm.org/i3status/${pkgname}-${pkgver}.tar.bz2
	musl-fix.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
	install -Dm644 LICENSE \
		"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1
}

md5sums="68d944e9c1f48183356c9ea15b5b4e3b  i3status-2.8.tar.bz2
75f4468573a132ae9fb255fb9a5531a7  musl-fix.patch"
sha256sums="ab06c5dd454354e6fc64354082616115082b70dc3906361bce5a02beb0f807fe  i3status-2.8.tar.bz2
e976f20fb165d2f96e7a49a95a2d5c803d882883dd4a87bfe20e62f85bf5fb4d  musl-fix.patch"
sha512sums="b1e3dbc480660a96a662ccb996769203fae22448f8801cabb56c339ba63ac84d30018c897e2ecac23f513cfe9d9a7d9200a351a2e6b10a42c1929c28e8e22c02  i3status-2.8.tar.bz2
340c44f68b2f74c2f66314f515f6843a6ac609a4d203ceb152b662aa8822ed405ccbbe459ea2eb1b42891cea84e3b63d1ff3bfe478d7fa2fc6c8b51f39f12a00  musl-fix.patch"