summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeanbon2016-07-23 16:14:50 -0400
committerJeanbon2016-07-23 16:14:50 -0400
commite3aac5990a2fdd6d27e252185d17298ff6d7ade9 (patch)
treeb36e8fa20c6949550222288c070e2060da461624
parentd1f35ab27828ff384d8f932e342bdf2015107469 (diff)
downloadaur-e3aac5990a2fdd6d27e252185d17298ff6d7ade9.tar.gz
Add script
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD22
-rwxr-xr-xrigsofrods-config.sh4
-rwxr-xr-xrigsofrods.sh4
4 files changed, 27 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4f70db1cda71..5111fa9ab491 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Jul 13 02:03:16 UTC 2016
+# Sat Jul 23 20:14:46 UTC 2016
pkgbase = rigsofrods-git
pkgdesc = An open source vehicle simulator based on soft-body physics
- pkgver = 0.4.5.1.r1049.g5fb089e
- pkgrel = 2
+ pkgver = 0.4.5.1.r1061.g773e2ed
+ pkgrel = 1
url = http://rigsofrods.org
arch = i686
arch = x86_64
@@ -19,6 +19,7 @@ pkgbase = rigsofrods-git
depends = ogre-pagedgeometry-git
depends = socketw
depends = angelscript-2.22.1
+ optdepends = sh: for being able to run the commands rigsofrods and rigsofrods-config instead of /opt/rigsofrods/RoR and /opt/rigsofrods/RoRConfig
provides = rigsofrods
conflicts = rigsofrods
conflicts = rigsofrods-hg
@@ -28,11 +29,15 @@ pkgbase = rigsofrods-git
source = rigsofrods.png
source = RoRConfig.desktop
source = RoR.desktop
+ source = rigsofrods.sh
+ source = rigsofrods-config.sh
sha512sums = SKIP
sha512sums = aaf465b9afa2acde5300c5721d46147e54a25d74ca42efc560e47fd2e1197717904a33deef3bedcf4a94103228c25129b77f200d386567424a5c1f96fb55b339
sha512sums = 8280ddec6dba37e66c323e469c1894bacc3b592b6ea1f7fd3876bc9e7253b14b4949c3c51d7dd47ad7bd78e085fbe51aad83b1e8d0b0755deda426129e4a6710
sha512sums = 40a000061d72245265d53d7c2ce0c4acc81eb3dddb6f6beda4b693a154e34922b8eb5c8400062b58c5f43a74be6cdaab938c1cd6427aebfc691d1fa52517fe2d
sha512sums = b0c04df93fa622d27ba485df1253ee786ebe42acb2c7b2f5d9657f22623503ee995845905f782c7b550625a4db0dbfdd924e4757b2daf21f84bb9cb3f6d683af
+ sha512sums = 83796e24bda42ed9f744cfd12af7eaf4ce576a4f784f3b10c360a6038fc921f47f42b90e205c933b89f0e837a65d446f101063fc9bac22591963747ed45fdfb6
+ sha512sums = fe76e153ff532f1e88dd57889f6347c598517024681e0f899a878d3c57e2ef6a400c391bfc0a1860975138dc8dc814df268d0c419d919757e59389a307b0f71d
pkgname = rigsofrods-git
diff --git a/PKGBUILD b/PKGBUILD
index 2799b82a182d..4b8d78024eb8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,14 +5,14 @@ _pkgname=rigsofrods
_gitname=rigs-of-rods
pkgname=$_pkgname-git
-pkgver=0.4.5.1.r1049.g5fb089e
-pkgrel=2
+pkgver=0.4.5.1.r1061.g773e2ed
+pkgrel=1
pkgdesc="An open source vehicle simulator based on soft-body physics"
arch=('i686' 'x86_64')
url="http://rigsofrods.org"
license=('GPL')
depends=('openal' 'wxgtk' 'ogre>=1.8.0' 'ogre<2.0.0' 'caelum-git' 'mygui' 'ogre-pagedgeometry-git' 'socketw' 'angelscript-2.22.1')
-#optdepends=('sh: for being able to run the commands rigsofrods and rigsofrods-config instead of /opt/rigsofrods/RoR and /opt/rigsofrods/RoRConfig')
+optdepends=('sh: for being able to run the commands rigsofrods and rigsofrods-config instead of /opt/rigsofrods/RoR and /opt/rigsofrods/RoRConfig')
makedepends=('cmake' 'git')
conflicts=('rigsofrods' 'rigsofrods-hg' 'rigsofrods-noangelscript-git')
provides=('rigsofrods')
@@ -20,16 +20,16 @@ source=("git+https://github.com/RigsOfRods/$_gitname.git"
"plugins.cfg"
"rigsofrods.png"
"RoRConfig.desktop"
- "RoR.desktop")
- #"rigsofrods.sh"
- #"rigsofrods-config.sh")
+ "RoR.desktop"
+ "rigsofrods.sh"
+ "rigsofrods-config.sh")
sha512sums=('SKIP'
'aaf465b9afa2acde5300c5721d46147e54a25d74ca42efc560e47fd2e1197717904a33deef3bedcf4a94103228c25129b77f200d386567424a5c1f96fb55b339'
'8280ddec6dba37e66c323e469c1894bacc3b592b6ea1f7fd3876bc9e7253b14b4949c3c51d7dd47ad7bd78e085fbe51aad83b1e8d0b0755deda426129e4a6710'
'40a000061d72245265d53d7c2ce0c4acc81eb3dddb6f6beda4b693a154e34922b8eb5c8400062b58c5f43a74be6cdaab938c1cd6427aebfc691d1fa52517fe2d'
- 'b0c04df93fa622d27ba485df1253ee786ebe42acb2c7b2f5d9657f22623503ee995845905f782c7b550625a4db0dbfdd924e4757b2daf21f84bb9cb3f6d683af')
- #'83796e24bda42ed9f744cfd12af7eaf4ce576a4f784f3b10c360a6038fc921f47f42b90e205c933b89f0e837a65d446f101063fc9bac22591963747ed45fdfb6'
- #'fe76e153ff532f1e88dd57889f6347c598517024681e0f899a878d3c57e2ef6a400c391bfc0a1860975138dc8dc814df268d0c419d919757e59389a307b0f71d')
+ 'b0c04df93fa622d27ba485df1253ee786ebe42acb2c7b2f5d9657f22623503ee995845905f782c7b550625a4db0dbfdd924e4757b2daf21f84bb9cb3f6d683af'
+ '83796e24bda42ed9f744cfd12af7eaf4ce576a4f784f3b10c360a6038fc921f47f42b90e205c933b89f0e837a65d446f101063fc9bac22591963747ed45fdfb6'
+ 'fe76e153ff532f1e88dd57889f6347c598517024681e0f899a878d3c57e2ef6a400c391bfc0a1860975138dc8dc814df268d0c419d919757e59389a307b0f71d')
pkgver() {
cd "$srcdir/$_gitname"
@@ -70,6 +70,6 @@ package() {
install -Dm755 RoR.desktop "$pkgdir/usr/share/applications/RoR.desktop"
install -Dm755 RoRConfig.desktop "$pkgdir/usr/share/applications/RoRConfig.desktop"
install -Dm755 plugins.cfg "$pkgdir/opt/$_pkgname/plugins.cfg"
- #install -Dm755 ../rigsofrods.sh "$pkgdir/usr/bin/rigsofrods"
- #install -Dm755 ../rigsofrods-config.sh "$pkgdir/usr/bin/rigsofrods-config"
+ install -Dm755 rigsofrods.sh "$pkgdir/usr/bin/rigsofrods"
+ install -Dm755 rigsofrods-config.sh "$pkgdir/usr/bin/rigsofrods-config"
}
diff --git a/rigsofrods-config.sh b/rigsofrods-config.sh
new file mode 100755
index 000000000000..a66ea556c235
--- /dev/null
+++ b/rigsofrods-config.sh
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+cd /opt/rigsofrods
+./RoRConfig
diff --git a/rigsofrods.sh b/rigsofrods.sh
new file mode 100755
index 000000000000..86a4e1c5f099
--- /dev/null
+++ b/rigsofrods.sh
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+cd /opt/rigsofrods
+./RoR