summaryrefslogtreecommitdiff
path: root/development/zed
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-11-08 10:13:09 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-14 07:07:17 +0700
commit43eb5f410fd15ed541568cc965d49bab90941b1f (patch)
tree92286a3e7a3375a3f6f5f3bf92ba9a6089414694 /development/zed
parent9066ca699602ed0276dbb6dd36a1e4b4b73cf6d5 (diff)
downloadslackbuilds-43eb5f410fd15ed541568cc965d49bab90941b1f.tar.gz
development/zed: Fix .desktop file.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'development/zed')
-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;