diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2016-12-25 01:38:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2016-12-25 01:38:55 +0000 |
commit | 4c7084ac5674bee61b3b34f72f516e66158017d2 (patch) | |
tree | e8c44109e925ce243fa783ee2758b6899ba9d504 | |
parent | 30f4daf518bf907e560f9a60da6ae76fce86fb29 (diff) |
add menu entry
-rw-r--r-- | Makefile | 35 | ||||
-rwxr-xr-x | desktop/sisyphus.desktop | 7 | ||||
-rw-r--r-- | desktop/sisyphus.png | bin | 0 -> 74727 bytes | |||
-rwxr-xr-x | sisyphus-pkexec | 2 |
4 files changed, 30 insertions, 14 deletions
@@ -1,8 +1,10 @@ SUBDIRS = DESTDIR = UBINDIR ?= /usr/bin +DESKTOPDIR ?= /usr/share/applications +PIXMAPDIR ?= /usr/share/pixmaps SISYPHUSLIBDIR ?= /usr/lib/sisyphus -SISYPHUSSHAREDIR ?= /usr/share/sisyphus +SISYPHUSDATADIR ?= /usr/share/sisyphus POLKITDIR ?= /usr/share/polkit-1/actions all: @@ -16,6 +18,7 @@ install: install -d $(DESTDIR)$(UBINDIR) install -m 0755 sisyphus $(DESTDIR)$(UBINDIR)/ + install -m 0755 sisyphus-pkexec $(DESTDIR)$(UBINDIR)/ install -d $(DESTDIR)$(SISYPHUSLIBDIR) install -m 0755 libsisyphus.sh $(DESTDIR)$(SISYPHUSLIBDIR)/ install -m 0755 ui/accesoriesui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/ @@ -25,18 +28,22 @@ install: install -m 0755 ui/multimediaui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/ install -m 0755 ui/officeui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/ install -m 0755 ui/systemui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/ - install -d $(DESTDIR)$(SISYPHUSSHAREDIR) - install -m 0755 icon/accesories.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/games.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/graphics.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/install.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/internet.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/multimedia.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/office.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/purge.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/remove.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/search.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/system.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ - install -m 0755 icon/upgrade.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/ + install -d $(DESTDIR)$(SISYPHUSDATADIR) + install -m 0755 icon/accesories.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/games.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/graphics.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/install.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/internet.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/multimedia.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/office.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/purge.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/remove.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/search.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/system.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -m 0755 icon/upgrade.svg $(DESTDIR)$(SISYPHUSDATADIR)/ + install -d $(DESTDIR)$(DESKTOPDIR) + install -m 0755 desktop/sisyphus.desktop $(DESTDIR)$(DESKTOPDIR)/ + install -d $(DESTDIR)$(PIXMAPDIR) + install -m 0644 desktop/sisyphus.png $(DESTDIR)$(PIXMAPDIR) install -d $(DESTDIR)$(POLKITDIR) install -m 0644 org.redcorelinux.sisyphus.policy $(DESTDIR)$(POLKITDIR)/ diff --git a/desktop/sisyphus.desktop b/desktop/sisyphus.desktop new file mode 100755 index 0000000..ef4efd1 --- /dev/null +++ b/desktop/sisyphus.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Sisyphus +Type=Application +Comment=A simple Epkg GUI +Exec=sisyphus-pkexec +Icon=sisyphus +Categories=System; diff --git a/desktop/sisyphus.png b/desktop/sisyphus.png Binary files differnew file mode 100644 index 0000000..d36d93b --- /dev/null +++ b/desktop/sisyphus.png diff --git a/sisyphus-pkexec b/sisyphus-pkexec new file mode 100755 index 0000000..a78d185 --- /dev/null +++ b/sisyphus-pkexec @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +pkexec /usr/bin/sisyphus |