summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/zed/zed.SlackBuild4
-rw-r--r--development/zed/zed.desktop8
2 files changed, 10 insertions, 2 deletions
diff --git a/development/zed/zed.SlackBuild b/development/zed/zed.SlackBuild
index ba770d7e93..30be078846 100644
--- a/development/zed/zed.SlackBuild
+++ b/development/zed/zed.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=zed
SRCNAM=Zed
VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -91,7 +91,7 @@ mkdir -p $PKG/usr/share/pixmaps
ln -sf /opt/${PRGNAM}/${SRCNAM}.png $PKG/usr/share/pixmaps/${PRGNAM}.png
mkdir -p $PKG/usr/share/applications
-cat $PKG/opt/${PRGNAM}/${SRCNAM}.desktop.tmpl > $PKG/usr/share/applications/${PRGNAM}.desktop
+cat $CWD/${PRGNAM}.desktop > $PKG/usr/share/applications/${PRGNAM}.desktop
mkdir -p $PKG/usr/doc/${PRGNAM}-${VERSION}
cat $CWD/${PRGNAM}.SlackBuild > $PKG/usr/doc/${PRGNAM}-${VERSION}/${PRGNAM}.SlackBuild
diff --git a/development/zed/zed.desktop b/development/zed/zed.desktop
new file mode 100644
index 0000000000..8543525fe5
--- /dev/null
+++ b/development/zed/zed.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Zed
+Comment=A text and code editor for power users.
+Exec=zed %U
+Icon=/usr/share/pixmaps/zed.png
+Type=Application
+StartupNotify=true
+Categories=GNOME;GTK;Utility;TextEditor;