summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTacoVox2016-03-08 16:14:59 +0100
committerTacoVox2016-03-08 16:14:59 +0100
commitf74566602e5aa7446cea20b7d7c301528710438c (patch)
tree58f9b9acb26663b731fdc29049dbc9c03548fe0a
downloadaur-f74566602e5aa7446cea20b7d7c301528710438c.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..81b37d38358
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = od-tools-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-libopendavinci-git
+ depends = freeglut
+ depends = qt4
+ depends = opencv
+ depends = boost
+ depends = qwt5
+ depends = jdk8-openjdk
+ depends = apache-ant
+ depends = junit
+ provides = od-tools-git
+ source = git://github.com/se-research/OpenDaVINCI.git
+ md5sums = SKIP
+
+pkgname = od-tools-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4b1a749b70f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Jonas Kahler <jonas@derkahler.de>
+pkgname=od-tools-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-libopendavinci-git' 'freeglut' 'qt4' 'opencv' 'boost' 'qwt5' 'jdk8-openjdk' 'apache-ant' 'junit')
+makedepends=('cmake' 'gcc' 'git' 'make')
+provides=('od-tools-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/odtools"
+ [[ -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}/odtools/build"
+ make DESTDIR="$pkgdir" install
+}