🚧 ror
This commit is contained in:
parent
f2f861612a
commit
657f0a99cf
40
rigsofrods/PKGBUILD
Normal file
40
rigsofrods/PKGBUILD
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# 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")
|
||||||
|
sha512sums=('SKIP')
|
||||||
|
|
||||||
|
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() {
|
||||||
|
cd "$srcdir/$_gitname-build-sys-V3/build"
|
||||||
|
|
||||||
|
make DESTDIR=${pkgdir} install
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user