i3status: update to 2.11

This commit is contained in:
Alessio Sergi 2017-01-23 16:56:49 +01:00
parent 3689648f4e
commit 8f91bb1d08
1 changed files with 9 additions and 9 deletions

View File

@ -1,17 +1,17 @@
# Template file for 'i3status'
pkgname=i3status
version=2.10
revision=2
version=2.11
revision=1
hostmakedepends="asciidoc pkg-config"
makedepends="yajl-devel confuse-devel libnl3-devel alsa-lib-devel libcap-devel pulseaudio-devel"
depends="libcap-progs"
conf_files="/etc/i3status.conf"
short_desc="Generates status bar to use with dzen2 or xmobar"
short_desc="Status bar generator for i3bar, dzen2, xmobar or similar programs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://www.i3wm.org/i3status/"
license="3-clause-BSD"
homepage="https://www.i3wm.org/i3status/"
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
checksum=daf5d07611b054a43da1a3d28850b05e2dbdbd6d25fd5e25ede98bb1b66e2791
checksum=98db7e730f0ce908eb656ac10d713ae6a885676621391d54f00b719752f18c5f
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libglob-devel";;
@ -20,9 +20,9 @@ esac
do_build() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i '/include/s,glob.h,libglob/glob.h,g' src/process_runs.c i3status.c
sed -i '/GLOB_TILDE/s/glob(/g_glob(/g' src/process_runs.c i3status.c
sed -i 's/globfree(/g_globfree(/g' src/process_runs.c i3status.c
sed -i '/include/s,glob.h,libglob/glob.h,g' src/process_runs.c src/print_cpu_temperature.c i3status.c
sed -i '/GLOB_TILDE/s/glob(/g_glob(/g' src/process_runs.c src/print_cpu_temperature.c i3status.c
sed -i 's/globfree(/g_globfree(/g' src/process_runs.c src/print_cpu_temperature.c i3status.c
export LIBS="$XBPS_CROSS_BASE/usr/lib/libglob.a"
;;
esac