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
679 B

6 years ago
# PATHS: Fix hardcoded paths
# PATCH: Support the absence of pulseaudio
name=i3status
6 years ago
version=2.12
dlextract "https://i3wm.org/$name/$name-$version.tar.bz2" \
6 years ago
'ed839f1626781aaca236b46693fab975'
extrafile "$name-2.11-disable-pulseaudio.patch"
_
cd "$name-$version"
6 years ago
pkg-config --exists libpulse || patch -p0 -i "../$name-2.11-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: