-
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Elsie <[email protected]>
- Loading branch information
1 parent
2b620af
commit cdadd74
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name="xonotic" | ||
pkgname="xonotic" | ||
pkgver="0.8.6" | ||
gives="xonotic" | ||
pkgdesc="The Free and Fast Arena Shooter" | ||
url="https://dl.unvanquished.net/share/xonotic/release/xonotic-${pkgver}.zip" | ||
hash="50850f8d800e7499722f6ea61e478e96464a375494b5a24da93aa0598cbe964d" | ||
breaks=("xonotic-git") | ||
arch=('amd64') | ||
maintainer="Herisson <[email protected]>" | ||
repology=("project: xonotic") | ||
|
||
package() { | ||
sudo install -Dm755 "xonotic-linux64-sdl" "${pkgdir}/usr/bin/${pkgname}-sdl" | ||
sudo install -Dm755 "xonotic-linux64-glx" "${pkgdir}/usr/bin/${pkgname}-glx" | ||
sudo mkdir -p "${pkgdir}/usr/share/applications/" | ||
sudo mkdir -p "${pkgdir}/usr/share/xonotic" | ||
sudo mkdir -p "${homedir}/.xonotic" | ||
sudo cp ./* "${homedir}/.xonotic/" -r | ||
echo "[Desktop Entry] | ||
Type=Application | ||
Version=0.8.6 | ||
Name=Xonotic | ||
Comment=Multiplayer, deathmatch oriented first person shooter | ||
Comment[de]=Deathmatch- und Mehrspieler-orientierter Ego-Shooter | ||
Comment[fr]=Jeu de tir à la première personne multijoueur | ||
Icon=xonotic | ||
Exec=xonotic-sdl | ||
Terminal=false | ||
PrefersNonDefaultGPU=true | ||
StartupNotify=false | ||
Categories=Game;ActionGame;" | sudo tee "${pkgdir}/usr/share/applications/xonotic.desktop" > /dev/null | ||
} |