tazirc rev 10

Add destop files (TazIRC and SliTaz IRC chan)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 14 23:43:51 2014 +0100 (2014-01-14)
parents 710ed4ffb0f8
children c89875017506
files Makefile data/tazirc-slitaz.desktop data/tazirc.desktop tazirc
line diff
     1.1 --- a/Makefile	Tue Jan 14 23:25:58 2014 +0100
     1.2 +++ b/Makefile	Tue Jan 14 23:43:51 2014 +0100
     1.3 @@ -35,20 +35,19 @@
     1.4  # Install
     1.5  
     1.6  install:
     1.7 -	install -m 0777 -d $(DESTDIR)$(PREFIX)/bin
     1.8 -	#install -m 0777 -d $(DESTDIR)$(PREFIX)/share/applications
     1.9 -	install -m 0777 -d $(DESTDIR)$(PREFIX)/share/locale
    1.10 +	install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
    1.11 +	install -m 0755 -d $(DESTDIR)$(PREFIX)/share/applications
    1.12 +	install -m 0755 -d $(DESTDIR)$(PREFIX)/share/locale
    1.13  	install -m 0755 tazirc $(DESTDIR)$(PREFIX)/bin
    1.14  	install -m 0755 tazirc-lb $(DESTDIR)$(PREFIX)/bin
    1.15 -	#install -m 0644 data/*.desktop \
    1.16 -		#$(DESTDIR)$(PREFIX)/share/applications
    1.17 +	install -m 0644 data/*.desktop $(DESTDIR)$(PREFIX)/share/applications
    1.18  	cp -a po/mo/* $(DESTDIR)$(PREFIX)/share/locale
    1.19  
    1.20  # Uninstall
    1.21  
    1.22  uninstall:
    1.23  	rm -f $(DESTDIR)$(PREFIX)/bin/tazirc*
    1.24 -	#rm -f $(DESTDIR)$(PREFIX)/share/applications/tazirc*
    1.25 +	rm -f $(DESTDIR)$(PREFIX)/share/applications/tazirc*
    1.26  	rm -rf $(DESTDIR)$(PREFIX)/share/locale/*/LC_MESSAGES/tazirc.mo
    1.27  
    1.28  # Clean
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/data/tazirc-slitaz.desktop	Tue Jan 14 23:43:51 2014 +0100
     2.3 @@ -0,0 +1,8 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=SliTaz IRC channel
     2.7 +Name[fr]=Canal IRC de SliTaz
     2.8 +Exec=tazweb --notoolbar http://irc.slitaz.org/?webirc
     2.9 +Icon=slitaz-icon
    2.10 +Type=Application
    2.11 +Categories=Application;Network;
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/data/tazirc.desktop	Tue Jan 14 23:43:51 2014 +0100
     3.3 @@ -0,0 +1,8 @@
     3.4 +[Desktop Entry]
     3.5 +Encoding=UTF-8
     3.6 +Name=TazIRC IRC client
     3.7 +Name[fr]=Client IRC TazIRC
     3.8 +Exec=terminal -e "tazirc --ask"
     3.9 +Icon=slitaz-icon
    3.10 +Type=Application
    3.11 +Categories=Application;Network;
     4.1 --- a/tazirc	Tue Jan 14 23:25:58 2014 +0100
     4.2 +++ b/tazirc	Tue Jan 14 23:43:51 2014 +0100
     4.3 @@ -39,7 +39,7 @@
     4.4  	newline
     4.5  	if [ ! "$host" ] || [ ! "$nick" ]; then
     4.6  		echo "$(colorize 31 'ERROR:') $(gettext 'empty value')"
     4.7 -		newline && exit 0
     4.8 +		newline && sleep 2 && exit 0
     4.9  	fi
    4.10  fi
    4.11