aboutsummaryrefslogtreecommitdiff
path: root/dbus/dunst/build
blob: 66d8cd456f1bcd94cebae3b1b4e1ff6f48c1fdb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

export DESTDIR="$1"

mk() { 
    make \
        PREFIX=/usr \
        MANDIR=/usr/share \
        DESTDIR="$DESTDIR" \
        WAYLAND="$(cpt l wayland >/dev/null 2>&1; printf '%s' "$(($? == 0))")" \
        "$@" 
}

mk dunst dunstify
mk install