Compare commits

..

4 Commits
master ... ror

Author SHA1 Message Date
cc08e59aea 🔧 Renamed mygui-ogre 2023-05-23 12:28:17 +00:00
ff406be5da 🐛 Fixed git packages 2023-05-23 12:26:55 +00:00
0c18d91440
🐛 Fixed rigs of rods install 2023-05-23 12:50:22 +02:00
657f0a99cf
🚧 ror 2023-05-23 12:50:22 +02:00
6 changed files with 71 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=mygui
pkgname=mygui-ogre
pkgver=3.4.2
pkgrel=1
pkgdesc="A library for creating Graphical User Interfaces for games and 3D applications"

View File

@ -1,10 +1,10 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=ogre-caelum-git
pkgver=0.6.3.r38.g7763bff
pkgver=0.6.4.4bd1b05
pkgrel=1
pkgdesc="Library for OGRE targeted at helping to create nice-looking atmospheric effects."
arch=('i686' 'x86_64')
arch=('i686' 'amd64')
url="https://ogrecave.github.io/ogre-caelum/"
depends=('ogre')
makedepends=('cmake' 'git')
@ -16,7 +16,11 @@ sha512sums=('SKIP')
pkgver() {
cd ${srcdir}/ogre-caelum
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
_ver=$(grep -oP ' VERSION ([0-9]\.[0-9]\.[0-9])' "CMakeLists.txt" | awk '{print $2;}')
_gitcommit=$(git rev-parse --short HEAD)
echo $_ver.$_gitcommit
}
build() {

View File

@ -1,10 +1,10 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=ogre-pagedgeometry-git
pkgver=1.2.0.r59.g95194bc
pkgver=1.3.0.30965c8
pkgrel=1
pkgdesc="Paged Geometry plugin for OGRE for fast rendering of trees and grass."
arch=('i686' 'x86_64')
arch=('i686' 'amd64')
url="https://ogrecave.github.io/ogre-pagedgeometry/"
license=('MIT')
depends=('ogre')
@ -16,7 +16,11 @@ sha512sums=('SKIP')
pkgver() {
cd ${srcdir}/ogre-pagedgeometry
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
_ver=$(grep -oP ' VERSION ([0-9]\.[0-9]\.[0-9])' "CMakeLists.txt" | awk '{print $2;}')
_gitcommit=$(git rev-parse --short HEAD)
echo $_ver.$_gitcommit
}
build() {

47
rigsofrods/PKGBUILD Normal file
View File

@ -0,0 +1,47 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
_pkgname=rigsofrods
_gitname=rigs-of-rods
pkgname=$_pkgname
pkgver=2021.10
pkgrel=1
pkgdesc="An open source vehicle simulator based on soft-body physics"
arch=('i686' 'x86_64')
url="http://rigsofrods.com"
license=('GPL')
depends=('ogre' 'mygui' 'socketw' 'angelscript' 'nvidia-cg-toolkit' 'libopenal-dev' 'libfmt-dev' 'rapidjson-dev' 'libcurl4-openssl-dev')
makedepends=('cmake' 'git')
conflicts=('rigsofrods-git')
provides=('rigsofrods')
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"
}
build() {
cd "$srcdir/$_gitname-build-sys-V3/build"
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DROR_FORCE_SYSTEM_DEPENDENCIES=ON \
-DROR_LIB_PREFERENCE=SYSTEM \
-DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
}
package() {
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
View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB