summaryrefslogtreecommitdiff
path: root/user/i3status/APKBUILD
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2019-01-27 09:01:03 +0100
committerLuis Ressel <aranea@aixah.de>2019-02-04 19:02:05 +0100
commit86bc76ab639608f85d71c8858173661ae2726c95 (patch)
tree65fd1bbf54dea8eb163559ca68dee9508904aa35 /user/i3status/APKBUILD
parenta993427bebef75d184f5fbe04d29093db76e0f38 (diff)
downloadpackages-86bc76ab639608f85d71c8858173661ae2726c95.tar.gz
packages-86bc76ab639608f85d71c8858173661ae2726c95.tar.bz2
packages-86bc76ab639608f85d71c8858173661ae2726c95.tar.xz
packages-86bc76ab639608f85d71c8858173661ae2726c95.zip
user/i3status: New package
Diffstat (limited to 'user/i3status/APKBUILD')
-rw-r--r--user/i3status/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/i3status/APKBUILD b/user/i3status/APKBUILD
new file mode 100644
index 000000000..554916af7
--- /dev/null
+++ b/user/i3status/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Luis Ressel <aranea@aixah.de>
+# Maintainer: Luis Ressel <aranea@aixah.de>
+pkgname=i3status
+pkgver=2.12
+pkgrel=0
+pkgdesc="Status bar generator for dzen2, xmobar or similar"
+url="https://i3wm.org/i3status/"
+arch="all"
+options="!check" # No test suite
+license="MIT"
+depends=""
+makedepends="alsa-lib-dev confuse-dev libnl3-dev pkgconf pulseaudio-dev yajl-dev"
+subpackages="$pkgname-doc"
+source="$url/$pkgname-$pkgver.tar.bz2
+ 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
+}
+
+build() {
+ cd "$builddir"
+ make i3status
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="687a880a65cb8df46f5e9d2256b59724ba3424c502e9a0fb3ca71b070875df5f4008ee501c554bc716f2d728a5cf813a36d22d7377d42c3c46b14381d385bab3 i3status-2.12.tar.bz2
+2a0a85dba02b9e9962f13d4bc151fd1672f215292800d9eeff5a10bd363b74f422d3b320851f31b73062ceeded974f5b105aec914c84f78ba418312bed189aa4 glob_tilde.patch"