summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Saurel2019-05-02 11:18:06 +0200
committerGuilhem Saurel2019-05-02 11:18:06 +0200
commit7a27397df9887cef85c22c1daa7f20c4ae4fe392 (patch)
treee23d9c6b17639fd23333e72b0a721f78279e4865
downloadaur-7a27397df9887cef85c22c1daa7f20c4ae4fe392.tar.gz
initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD31
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2034e77cdf4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = gepetto-viewer
+ pkgdesc = Graphical Interface for Pinocchio and HPP.
+ pkgver = 4.5.0
+ pkgrel = 1
+ url = https://github.com/gepetto/gepetto-viewer
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = cmake
+ depends = openscenegraph
+ depends = urdfdom
+ depends = openthreads
+ depends = osgqt
+ depends = boost
+ source = https://github.com/gepetto/gepetto-viewer/releases/download/v4.5.0/gepetto-viewer-4.5.0.tar.gz
+ source = https://github.com/gepetto/gepetto-viewer/releases/download/v4.5.0/gepetto-viewer-4.5.0.tar.gz.sig
+ validpgpkeys = 9B1A79065D2F2B806C8A5A1C7D2ACDAF4653CF28
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = gepetto-viewer
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f907959cd9c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg
+src
+gepetto-viewer*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..df79df1d70d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Guilhem Saurel <saurel@laas.fr>
+
+pkgname=gepetto-viewer
+pkgver=4.5.0
+pkgrel=1
+pkgdesc="Graphical Interface for Pinocchio and HPP."
+arch=('i686' 'x86_64')
+url="https://github.com/gepetto/$pkgname"
+license=('BSD')
+depends=('openscenegraph' 'urdfdom' 'openthreads' 'osgqt' 'boost')
+makedepends=('cmake' 'boost' 'urdfdom')
+source=($url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.sig})
+sha256sums=('SKIP' 'SKIP')
+validpgpkeys=('9B1A79065D2F2B806C8A5A1C7D2ACDAF4653CF28')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}