diff --git a/srcpkgs/gtkedit/files/gtkedit.desktop b/srcpkgs/gtkedit/files/gtkedit.desktop new file mode 100644 index 00000000000..caa96d64ef1 --- /dev/null +++ b/srcpkgs/gtkedit/files/gtkedit.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Gtkedit +Comment=Text editor +Exec=gtkedit %f +Icon=/usr/share/gtkwrite/img/gtkwrite.ico +Terminal=false +Type=Application +MimeType=text/plain +Categories=GTK;Utility;TextEditor; diff --git a/srcpkgs/gtkedit/template b/srcpkgs/gtkedit/template index d4601ca6f72..aa0da4eb781 100644 --- a/srcpkgs/gtkedit/template +++ b/srcpkgs/gtkedit/template @@ -1,17 +1,18 @@ # Template file for 'gtkedit' pkgname=gtkedit version=0.1.8 -revision=1 +revision=2 +wrksrc="gtkwrite-${version}" build_style=gnu-makefile hostmakedepends="pkg-config" makedepends="gtk+-devel" +depends="desktop-file-utils" maintainer="cr6git " short_desc="Text Editor written in C and Gtk+2" homepage="https://github.com/drankinatty/gtkwrite" license="GPL-2" distfiles="https://github.com/drankinatty/gtkwrite/archive/v${version}.tar.gz" checksum=bcca9e6dbdfafe9c77204ff0dee57678286fd9c5b6fd21e73d11b6652f0c076f -wrksrc="gtkwrite-${version}" # Without GtkSourceView it will compile as 'gtkedit' # With GtkSourceView it compiles as 'gtkwrite' @@ -26,6 +27,5 @@ do_install() { vdoc README.md vinstall img/gtkwrite.png 644 usr/share/gtkwrite/img vinstall img/gtkwrite.ico 644 usr/share/gtkwrite/img - vinstall styles/gtkwrite.xml 644 usr/share/gtksourceview-2.0/styles - vinstall styles/gtkwrite_light.xml 644 usr/share/gtksourceview-2.0/styles + vinstall ${FILESDIR}/gtkedit.desktop 644 usr/share/applications }