summaryrefslogtreecommitdiff
path: root/user/i3status/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/i3status/APKBUILD')
-rw-r--r--user/i3status/APKBUILD31
1 files changed, 18 insertions, 13 deletions
diff --git a/user/i3status/APKBUILD b/user/i3status/APKBUILD
index 554916af7..b892fef2f 100644
--- a/user/i3status/APKBUILD
+++ b/user/i3status/APKBUILD
@@ -1,35 +1,40 @@
# Contributor: Luis Ressel <aranea@aixah.de>
# Maintainer: Luis Ressel <aranea@aixah.de>
pkgname=i3status
-pkgver=2.12
+pkgver=2.13
pkgrel=0
pkgdesc="Status bar generator for dzen2, xmobar or similar"
url="https://i3wm.org/i3status/"
arch="all"
-options="!check" # No test suite
+options="!check" # No test suite
license="MIT"
depends=""
-makedepends="alsa-lib-dev confuse-dev libnl3-dev pkgconf pulseaudio-dev yajl-dev"
+makedepends="alsa-lib-dev asciidoctor confuse-dev libnl3-dev pkgconf
+ pulseaudio-dev yajl-dev"
subpackages="$pkgname-doc"
source="$url/$pkgname-$pkgver.tar.bz2
+ asciidoctor.patch
glob_tilde.patch"
prepare() {
- cd "$builddir"
default_prepare
- # TODO: The setcap part can be dropped after the 2.13 release
- sed -i -e '/^CFLAGS+=-g$/d' -e '/setcap/d' Makefile
+ autoreconf -vif
}
build() {
- cd "$builddir"
- make i3status
+ mkdir build
+ cd build
+
+ PATH_ASCIIDOC=/usr/bin/asciidoctor ../configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ make -C build DESTDIR="$pkgdir" install
}
-
-sha512sums="687a880a65cb8df46f5e9d2256b59724ba3424c502e9a0fb3ca71b070875df5f4008ee501c554bc716f2d728a5cf813a36d22d7377d42c3c46b14381d385bab3 i3status-2.12.tar.bz2
-2a0a85dba02b9e9962f13d4bc151fd1672f215292800d9eeff5a10bd363b74f422d3b320851f31b73062ceeded974f5b105aec914c84f78ba418312bed189aa4 glob_tilde.patch"
+sha512sums="6dadff19e53499d169ba4f491e1f821014b4f92fc3c93d7947c85cbbbdeaba538d02bd8ab98fe266a8f80756a287fd5803ec77a8cd874d50082b5cad309875c2 i3status-2.13.tar.bz2
+26527b9a0053d363f2b2991f9be3a15cb5fbf5553dca9498a9cff1c1a65e887f392215b60a484e329e6ef8efd63f9b67727826fb6ccfe1033c653feef34aaab8 asciidoctor.patch
+765a5b64d79f61cd68280d77a7316e7f571a3c2e385d9a227885cde5fc057b1a892e92a65c0fc54832bfdda30743df6e9f82a847b55c9e7389575c7fbad9e0d4 glob_tilde.patch"