Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
746 B

name=i3status
version=2.10
update_url="https://i3wm.org/$name/"
define_option 'pulseaudio: Add pulseaudio support'
dlextract "https://i3wm.org/$name/$name-$version.tar.bz2" \
'1121f7c1c193c873982aba22668398ef'
extrafile "$name-$version-optional-pulseaudio.patch"
header_end
cd "$name-$version"
patch -p0 -i "../$name-$version-optional-pulseaudio.patch"
# Fix install directories
sed -i -e "/install -m/s/bin/$(safe_sed "$dir_bindir")/" \
-e "/install -m/s/share\/man/$(safe_sed "$dir_mandir")/" Makefile
make WITH_PULSEAUDIO=$(option pulseaudio && echo yes || echo no)
make install \
PREFIX="/$dir_prefix" \
SYSCONFDIR="/$dir_sysconfdir" \
DESTDIR="$dir_install"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: