|
|
|
name=dunst
|
|
|
|
version=1.2.0
|
|
|
|
|
|
|
|
define_option '!patch: Apply some custom patches'
|
|
|
|
|
|
|
|
dlextract "https://github.com/dunst-project/dunst/archive/v$version/$name-$version.tar.gz" \
|
|
|
|
'425d5bb10a8b571c7494c5e60aaae7e1'
|
|
|
|
option patch extrafile "$name-$version-fancy-progressbar.patch"
|
|
|
|
_
|
|
|
|
|
|
|
|
cd "$name-$version"
|
|
|
|
option patch patch -p1 -i "../$name-$version-fancy-progressbar.patch"
|
|
|
|
|
|
|
|
sed -i -e "s/\${PREFIX}\/bin/\${PREFIX}\/$(safe_sed "$dir_bin")/" \
|
|
|
|
-e "s/\${PREFIX}\/share/\${PREFIX}\/$(safe_sed "$dir_data")/" Makefile
|
|
|
|
|
|
|
|
make install \
|
|
|
|
DESTDIR="$dir_install" \
|
|
|
|
PREFIX="/$dir_prefix" \
|
|
|
|
MANPREFIX="/$dir_prefix/$dir_man"
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|