🐛 Fixed rigs of rods install
This commit is contained in:
parent
657f0a99cf
commit
0c18d91440
@ -14,8 +14,14 @@ depends=('ogre' 'mygui' 'socketw' 'angelscript' 'nvidia-cg-toolkit' 'libopenal-d
|
||||
makedepends=('cmake' 'git')
|
||||
conflicts=('rigsofrods-git')
|
||||
provides=('rigsofrods')
|
||||
source=("https://github.com/AnotherFoxGuy/rigs-of-rods/archive/refs/heads/build-sys-V3.zip")
|
||||
sha512sums=('SKIP')
|
||||
source=("https://github.com/AnotherFoxGuy/rigs-of-rods/archive/refs/heads/build-sys-V3.zip"
|
||||
"rigsofrods.png"
|
||||
"RoR.desktop"
|
||||
)
|
||||
sha512sums=('SKIP'
|
||||
'8280ddec6dba37e66c323e469c1894bacc3b592b6ea1f7fd3876bc9e7253b14b4949c3c51d7dd47ad7bd78e085fbe51aad83b1e8d0b0755deda426129e4a6710'
|
||||
'21a6f930d0efe6a2d73edea08a28cf3584a9caa413969a6ff258d2dbe8a8e1f58411ec5c10118f116a7b6c341b6debbba22ceee0842a1b335a40edfa5d1cfc84'
|
||||
)
|
||||
|
||||
prepare() {
|
||||
mkdir -p "$srcdir/$_gitname-build-sys-V3/build"
|
||||
@ -34,7 +40,8 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_gitname-build-sys-V3/build"
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
mkdir -p "$pkgdir/opt/games/$_pkgname"
|
||||
cp -r $srcdir/$_gitname-build-sys-V3/build/bin/* "$pkgdir/opt/games/$_pkgname/"
|
||||
install -Dm755 rigsofrods.png "$pkgdir/usr/share/pixmaps/rigsofrods.png"
|
||||
install -Dm755 RoR.desktop "$pkgdir/usr/share/applications/RoR.desktop"
|
||||
}
|
||||
|
9
rigsofrods/RoR.desktop
Normal file
9
rigsofrods/RoR.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Name=Rigs of Rods
|
||||
Comment=An open source vehicle simulator based on soft-body physics
|
||||
Icon=rigsofrods.png
|
||||
Exec=/opt/games/rigsofrods/RoR
|
||||
Terminal=false
|
||||
Categories=Application;Game;
|
BIN
rigsofrods/rigsofrods.png
Normal file
BIN
rigsofrods/rigsofrods.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
Loading…
x
Reference in New Issue
Block a user