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.

25 lines
874 B

name=dunst
7 years ago
version=1.2.0
update_url="https://github.com/dunst-project/$name/releases"
update_names="/archive/v$version.tar.gz"
define_option '!fancy-progressbar: Apply a patch that draws the progress value in a fancy way'
7 years ago
dlextract "https://github.com/dunst-project/dunst/archive/v$version/$name-$version.tar.gz" \
'425d5bb10a8b571c7494c5e60aaae7e1'
option fancy-progressbar extrafile "$name-$version-fancy-progressbar.patch"
header_end
cd "$name-$version"
option fancy-progressbar patch -p1 -i "../$name-$version-fancy-progressbar.patch"
sed -i -e "s/\${PREFIX}\/bin/\${PREFIX}\/$(safe_sed "$dir_bindir")/" \
-e "s/\${PREFIX}\/share/\${PREFIX}\/$(safe_sed "$dir_datadir")/" Makefile
make install \
DESTDIR="$dir_install" \
PREFIX="/$dir_prefix" \
MANPREFIX="/$dir_prefix/$dir_mandir"
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: