Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
3d0c87d59c |
3 changed files with 29 additions and 0 deletions
13
PKGBUILD
Normal file
13
PKGBUILD
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
pkgname=game.title
|
||||||
|
pkgver=1.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="<GAME_DESC>"
|
||||||
|
arch=('x86_64')
|
||||||
|
optdepends=('citra')
|
||||||
|
makedepends=('rsync')
|
||||||
|
source=()
|
||||||
|
sha256sums=()
|
||||||
|
|
||||||
|
package() {
|
||||||
|
rsync -vzrp ../root/ "$pkgdir/"
|
||||||
|
}
|
9
root/usr/share/applications/Game Title.desktop
Normal file
9
root/usr/share/applications/Game Title.desktop
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=<GAME_TITLE>
|
||||||
|
Comment=<GAME_DESC>
|
||||||
|
Exec=citra-qt "/games/rom/3ds/game.title.3ds"
|
||||||
|
Icon=/usr/share/icons/game.title/icon1.ico
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Game;
|
7
setup.sh
Normal file
7
setup.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
safe_title=$(python3 -c "print(\"$name\".replace(\" \", \".\").lower())")
|
||||||
|
mv -v "root/usr/share/applications/Game Title.desktop" "root/usr/share/applications/$name.desktop"
|
||||||
|
mkdir -p root/games/rom/3ds
|
||||||
|
mkdir -p root/usr/share/icons/$safe_title
|
||||||
|
sd "game.title" "$safe_title" "root/usr/share/applications/$name.desktop"
|
||||||
|
sd "game.title" "$safe_title" PKGBUILD
|
||||||
|
rm setup.sh
|
Loading…
Add table
Reference in a new issue