diff --git a/x11/apps/xcalc/xcalc.desktop b/x11/apps/xcalc/xcalc.desktop new file mode 100644 index 00000000..5664db4c --- /dev/null +++ b/x11/apps/xcalc/xcalc.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=xcalc +Comment=X11 Calculator +GenericName=Calculator +Exec=xcalc +Icon=xcalc +Terminal=false +StartupNotify=true +Type=Application +Categories=Utility; diff --git a/x11/apps/xedit/xedit.desktop b/x11/apps/xedit/xedit.desktop new file mode 100644 index 00000000..50587c3e --- /dev/null +++ b/x11/apps/xedit/xedit.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=xedit +Comment=X11 Text Editor +GenericName=Text Editor +Exec=xedit %F +Icon=xedit +Terminal=false +StartupNotify=true +Type=Application +Categories=Utility;TextEditor; +MimeType=text/plain; diff --git a/x11/apps/xorg-xedit/ympbuild b/x11/apps/xedit/ympbuild similarity index 75% rename from x11/apps/xorg-xedit/ympbuild rename to x11/apps/xedit/ympbuild index 2d67bd05..bf93f847 100644 --- a/x11/apps/xorg-xedit/ympbuild +++ b/x11/apps/xedit/ympbuild @@ -7,11 +7,12 @@ description='Simple text editor for X' email='akarsu@protonmail.com' maintainer='akarsu' license=('custom') -source=(https://xorg.freedesktop.org/archive/individual/app/xedit-$version.tar.xz{,.sig}) -depends=( libXaw libXmu libXt libX11) +source=(https://xorg.freedesktop.org/archive/individual/app/xedit-$version.tar.xz + xedit.desktop) +depends=(libXaw libXmu libXt libX11) makedepends=(util-macros) md5sums=('6c62e9d4e628259fe34f3018cd54873c' - 'ff19eef1f5674192d421e877a643e56e') + 'SKIP') group=(x11.apps) uses=() arch=('x86_64') @@ -30,5 +31,7 @@ build(){ package(){ make DESTDIR="$DESTDIR" install $jobs install -Dm644 COPYING "$DESTDIR/usr/share/licenses/$name/COPYING" + mkdir -p $DESTDIR/usr/share/applications + install ../xedit.desktop $DESTDIR/usr/share/applications }