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.

23 lines
679 B

name=dunst
7 years ago
version=1.3.2
define_option '!patch: Apply some custom patches'
8 years ago
dlextract "https://github.com/dunst-project/dunst/archive/v$version/$name-$version.tar.gz" \
7 years ago
'68ad9fd1dab537d7a1ad93c899c50278'
option patch extrafile "$name-1.2.0-fancy-progressbar.patch"
_
cd "$name-$version"
7 years ago
option patch patch -p1 -i "../$name-1.2.0-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: