summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortjhexf2022-06-03 17:23:26 -0300
committertjhexf2022-06-03 17:23:26 -0300
commitb4f186f1da29d4205adf5464905bba25356ba972 (patch)
tree0e5611946611045d55dc955eb373d0ec67993443
parente9197c50c3ecf27456e9ea5b659d2498664bc92d (diff)
downloadaur-b4f186f1da29d4205adf5464905bba25356ba972.tar.gz
added desktop files, sorry upstream
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD9
-rw-r--r--xonotic-dedicated.desktop8
-rw-r--r--xonotic-glx.desktop8
-rw-r--r--xonotic-sdl.desktop8
5 files changed, 29 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b82c5933e8ab..67208235eaaf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -29,7 +29,6 @@ pkgbase = xonotic-git
depends = curl
depends = unzip
optdepends = libtheora: recording in ogv
- optdepends = xonotic-desktop: shortcuts for desktop environments
provides = xonotic
provides = xonotic-glx
provides = xonotic-sdl
diff --git a/PKGBUILD b/PKGBUILD
index a5a2c73c785e..6bb039489a12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
# Maintainer: tjhexf <jhonatan@justin.com.br>
+# Contributor: Eden Rose <eenov1988@gmail.com>
# Contributor: M Novick <mnovick1988@gmail.com>
# Contributor: M Rawash <mrawash@gmail.com>
# Contributor: MrBougo <bougospam at gmail dot com>
@@ -28,7 +29,6 @@ depends=(
makedepends=('git' 'p7zip' 'zip' 'unzip' 'sdl2' 'mesa' 'imagemagick')
optdepends=(
'libtheora: recording in ogv'
- 'xonotic-desktop: shortcuts for desktop environments'
)
provides=('xonotic' 'xonotic-glx' 'xonotic-sdl' 'xonotic-dedicated' 'xonotic-icons' 'xonotic-tools' 'xonotic-git' 'nexuiz-compatible.pk3')
conflicts=('xonotic' 'xonotic-glx' 'xonotic-sdl' 'xonotic-dedicated' 'xonotic-icons' 'xonotic-tools' 'xonotic-git')
@@ -321,8 +321,9 @@ package() {
mkdir -p "$pkgdir"/usr/share/icons
install -m644 "$srcdir"/$_gitname/misc/logos/xonotic_icon.svg "$pkgdir"/usr/share/icons
-# install -m755 xonotic-glx.desktop ### Upstream doesnt want .desktop files :(
-# install -m755 xonotic-sdl.desktop ### Upstream doesnt want .desktop files :(
-# install -m755 xonotic-dedicated.desktop ### Upstream doesnt want .desktop files :(
+ install -m755 xonotic-glx.desktop "$pkgdir"/usr/share/applications
+ install -m755 xonotic-sdl.desktop "$pkgdir"/usr/share/applications
+ install -m755 xonotic-dedicated.desktop "$pkgdir"/usr/share/applications
+ #readded these, sorry upstream! doubt anyone cares tho, since this package is basically dead.
# msg "NOT WRITTEN YET!"
}
diff --git a/xonotic-dedicated.desktop b/xonotic-dedicated.desktop
new file mode 100644
index 000000000000..ee7c488e1ef2
--- /dev/null
+++ b/xonotic-dedicated.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Xonotic-dedicated
+Categories=Qt;KDE;Game;Xonotic;
+Exec=xonotic-dedicated
+Icon=xonotic_icon.svg
+Terminal=false
+StartupNotify=false
diff --git a/xonotic-glx.desktop b/xonotic-glx.desktop
new file mode 100644
index 000000000000..563f12b5b83c
--- /dev/null
+++ b/xonotic-glx.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Xonotic-glx
+Categories=Qt;KDE;Game;Xonotic;
+Exec=xonotic-glx
+Icon=xonotic_icon.svg
+Terminal=false
+StartupNotify=false \ No newline at end of file
diff --git a/xonotic-sdl.desktop b/xonotic-sdl.desktop
new file mode 100644
index 000000000000..74076152cf6f
--- /dev/null
+++ b/xonotic-sdl.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Xonotic-sdl
+Categories=Qt;KDE;Game;Xonotic;
+Exec=xonotic-sdl
+Icon=xonotic_icon.svg
+Terminal=false
+StartupNotify=false