summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTacoVox2016-03-08 16:10:34 +0100
committerTacoVox2016-03-08 16:10:34 +0100
commit45f71a8a68a3d17679b00f5604f1be7cd1027d69 (patch)
treee4a3303916ae9b5a3e612ac29e9fd47a6d2cfe7d
downloadaur-45f71a8a68a3d17679b00f5604f1be7cd1027d69.tar.gz
Initial commit
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD38
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1d0a05f2c71
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = od-automotive-miniature-git
+ pkgdesc = Open Source Development Architecture for Virtual, Networked, and Cyber-Physical System Infrastructures.
+ pkgver = v3.0.1
+ pkgrel = 1
+ url = http://opendavinci.cse.chalmers.se/www/
+ arch = any
+ license = GPL
+ makedepends = cmake
+ makedepends = gcc
+ makedepends = git
+ makedepends = make
+ depends = od-libopendlv-git
+ depends = freeglut
+ depends = qt4
+ depends = opencv
+ depends = boost
+ depends = qwt5
+ depends = jdk8-openjdk
+ depends = apache-ant
+ depends = junit
+ provides = od-automotive-miniature-git
+ source = git://github.com/se-research/OpenDaVINCI.git
+ md5sums = SKIP
+
+pkgname = od-automotive-miniature-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..842b52d8cb0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Jonas Kahler <jonas@derkahler.de>
+pkgname=od-automotive-miniature-git
+pkgver=v3.0.1
+pkgrel=1
+pkgdesc="Open Source Development Architecture for Virtual, Networked, and Cyber-Physical System Infrastructures."
+arch=('any')
+url="http://opendavinci.cse.chalmers.se/www/"
+license=('GPL')
+depends=('od-libopendlv-git' 'freeglut' 'qt4' 'opencv' 'boost' 'qwt5' 'jdk8-openjdk' 'apache-ant' 'junit')
+makedepends=('cmake' 'gcc' 'git' 'make')
+provides=('od-automotive-miniature-git')
+source=('git://github.com/se-research/OpenDaVINCI.git')
+noextract=()
+md5sums=('SKIP') #autofill using updpkgsums
+_gitname=OpenDaVINCI
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ echo $(git describe --always | sed 's/-/./g')
+}
+
+build() {
+ cd "$srcdir/$_gitname/automotive/miniature"
+ [[ -d build ]] && rm -r build
+ mkdir build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_C_FLAGS:STRING="" \
+ -DCMAKE_CXX_FLAGS:STRING="" \
+ -DCMAKE_EXE_LINKER_FLAGS:STRING="" \
+ -DCMAKE_SHARED_LINKER_FLAGS:STRING="" ..
+ make
+ make test
+}
+
+package() {
+ cd "${_gitname}/automotive/miniature/build"
+ make DESTDIR="$pkgdir" install
+}