|
|
|
name=i3status
|
|
|
|
version=2.11
|
|
|
|
|
|
|
|
dlextract "https://i3wm.org/$name/$name-$version.tar.bz2" \
|
|
|
|
'a5c0a364d917ffc57c42af3f6936e700'
|
|
|
|
extrafile "$name-$version-disable-pulseaudio.patch"
|
|
|
|
_
|
|
|
|
|
|
|
|
cd "$name-$version"
|
|
|
|
|
|
|
|
pkg-config --exists libpulse || patch -p0 -i "../$name-$version-disable-pulseaudio.patch"
|
|
|
|
|
|
|
|
# Fix paths
|
|
|
|
sed -i -e "/install -m/s/bin/$(safe_sed "$dir_bin")/" \
|
|
|
|
-e "/install -m/s/share\/man/$(safe_sed "$dir_man")/" Makefile
|
|
|
|
|
|
|
|
make
|
|
|
|
make install \
|
|
|
|
PREFIX="/$dir_prefix" \
|
|
|
|
SYSCONFDIR="/$dir_prefix/$dir_sysconf" \
|
|
|
|
DESTDIR="$dir_install"
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|