Fix, localization & makefile & .desktop

pull/17/head
Dmitry Razumov 3 years ago
parent 595232db89
commit 4e950b5c5f

@ -78,7 +78,9 @@ uninstall:
@$(RM) "/usr/share/applications/${PKGNAME}.desktop"
@$(RM) "/usr/share/polkit-1/actions/org.freedesktop.policykit.${PKGNAME}.pkexec.policy"
@$(RM) -rd "/usr/share/${PKGNAME}"
$(shell gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null)
@gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null
@update-desktop-database --quiet 2>/dev/null
@touch /usr/share/applications
@echo "Uninstall: OK"
install: check uninstall
@ -105,7 +107,9 @@ install: check uninstall
@install -Dm644 -t /usr/share/${PKGNAME}/images/ ${PKGNAME}.svg
@install -Dm644 -t /usr/share/${PKGNAME}/images/ ${PKGNAME}.png
@cp -afr reg/* /usr/share/${PKGNAME}/reg/
$(shell gtk-update-icon-cache -fiq /usr/share/icons/hicolor/)
@gtk-update-icon-cache -fiq /usr/share/icons/hicolor/
@update-desktop-database --quiet 2>/dev/null
@touch /usr/share/applications
@echo "Install: OK"
clean:

@ -1,10 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=Time date settings
Name=Date & time settings
Name[ru]=Настройка даты времени
GenericName=Time date settings
GenericName=Date & time settings
GenericName[ru]=Настройка даты и времени
Comment=Time date settings
Comment=Date time settings
Comment[ru]=Приложение для настройки даты и времени
Type=Application
Exec=ubl-settings-datetime

Loading…
Cancel
Save