diff --git a/rigsofrods/PKGBUILD b/rigsofrods/PKGBUILD index 1fb0d7e..965352a 100644 --- a/rigsofrods/PKGBUILD +++ b/rigsofrods/PKGBUILD @@ -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" } diff --git a/rigsofrods/RoR.desktop b/rigsofrods/RoR.desktop new file mode 100644 index 0000000..5b56043 --- /dev/null +++ b/rigsofrods/RoR.desktop @@ -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; diff --git a/rigsofrods/rigsofrods.png b/rigsofrods/rigsofrods.png new file mode 100644 index 0000000..80ab892 Binary files /dev/null and b/rigsofrods/rigsofrods.png differ