|
|
|
|
@ -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:
|
|
|
|
|
|