1 diff -ur softbeep.orig/Makefile softbeep/Makefile
2 --- softbeep.orig/Makefile 2002-04-06 01:52:59.000000000 +0400
3 +++ softbeep/Makefile 2010-01-10 22:55:18.000000000 +0300
14 - install -groot -m755 -oroot softbeep $(PREFIX)/bin
15 - install -groot -m755 -oroot sb-beep $(PREFIX)/bin
16 - install -groot -m644 -oroot -s $(SO) $(PREFIX)/lib
17 + install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/lib
18 + install -groot -m755 -oroot softbeep $(DESTDIR)$(PREFIX)/bin
19 + install -groot -m755 -oroot sb-beep $(DESTDIR)$(PREFIX)/bin
20 + install -groot -m644 -oroot -s $(SO) $(DESTDIR)$(PREFIX)/lib
23 sed s/VERSION/$(VERSION)/ < README.in > README
24 diff -ur softbeep.orig/sb-beep softbeep/sb-beep
25 --- softbeep.orig/sb-beep 2002-03-31 17:19:19.000000000 +0400
26 +++ softbeep/sb-beep 2010-01-10 23:08:22.000000000 +0300
29 FILE=/usr/share/sounds/warning.wav
31 -echo "$@" >> /tmp/sb-beep
33 if [ "$1" == "irssi" ] || [ "$1" == "xchat" ] ; then
34 FILE=/usr/share/sounds/email.wav
38 +# use the player specified in $SB_PLAYER if defined
40 +if [ -z "$SB_PLAYER" ]; then
41 + exec aplay $FILE &> /dev/null &
43 + exec $SB_PLAYER $FILE &> /dev/null &