Try to add a desktop file
This commit is contained in:
parent
b667c1de09
commit
bca220e008
15
KShare.desktop
Executable file
15
KShare.desktop
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=KShare
|
||||||
|
Comment=A ShareX inspired cross platform screen capture utility written with Qt.
|
||||||
|
GenericName=Screenshot Capture Utility
|
||||||
|
Exec=/usr/bin/kshare
|
||||||
|
Icon=/usr/share/pixmaps/kshare.png
|
||||||
|
Type=Application
|
||||||
|
StartupNotify=false
|
||||||
|
Categories=Qt;Utility;
|
||||||
|
StartupWMClass=KSharee
|
||||||
|
Actions=StartInBackground
|
||||||
|
|
||||||
|
[Desktop Action StartInBackground]
|
||||||
|
Name=Start without showing the window
|
||||||
|
Exec=kshare -b
|
@ -24,5 +24,9 @@ package() {
|
|||||||
cd "${srcdir}/KShare"
|
cd "${srcdir}/KShare"
|
||||||
mkdir -p "$pkgdir/usr/bin"
|
mkdir -p "$pkgdir/usr/bin"
|
||||||
install ./KShare "$pkgdir/usr/bin/kshare"
|
install ./KShare "$pkgdir/usr/bin/kshare"
|
||||||
|
mkdir -p "$pkgdir/usr/share/pixmaps"
|
||||||
|
install "${srcdir}/KShare/icons/icon.png"
|
||||||
|
mkdir -p "$pkgdir/usr/share/applications"
|
||||||
|
install KShare.desktop "$pkgdir/usr/share/applications"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user