summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Saurel2017-04-06 21:54:59 +0200
committerGuilhem Saurel2017-04-06 21:54:59 +0200
commit6be5122dfe73e7951be75d70f9c25aff07a8beb9 (patch)
tree4dc74e20e8658b6248e0bef2a6d9d7ea03802be1
downloadaur-6be5122dfe73e7951be75d70f9c25aff07a8beb9.tar.gz
first commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD40
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7c74dc35061
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = gepetto-viewer-corba-git
+ pkgdesc = CORBA server/client for SceneViewer.
+ pkgver = 1.3.0.r291.5047424
+ pkgrel = 1
+ url = https://github.com/nim65s/gepetto-viewer-corba
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = cmake
+ makedepends = git
+ depends = gepetto-viewer
+ depends = omniorb
+ depends = qt4
+ optdepends = doxygen
+ provides = gepetto-viewer-corba
+ conflicts = gepetto-viewer-corba
+ source = gepetto-viewer-corba::git://github.com/nim65s/gepetto-viewer-corba.git
+ md5sums = SKIP
+
+pkgname = gepetto-viewer-corba-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c411eabea52
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Guilhem Saurel <saurel@laas.fr>
+
+_pkgname=gepetto-viewer-corba
+_pkgver=1.3.0
+pkgname=${_pkgname}-git
+pkgver=1.3.0.r291.5047424
+pkgrel=1
+pkgdesc="CORBA server/client for SceneViewer."
+arch=('i686' 'x86_64')
+url="https://github.com/nim65s/$_pkgname"
+license=('BSD')
+depends=('gepetto-viewer' 'omniorb' 'qt4')
+makedepends=('cmake' 'git')
+optdepends=('doxygen')
+conflicts=($_pkgname)
+provides=($_pkgname)
+source=("$_pkgname"::"git://github.com/nim65s/$_pkgname.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ echo "$_pkgver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$_pkgname"
+ git submodule update --init
+}
+
+build() {
+ cd "$_pkgname"
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
+ make
+}
+
+package() {
+ cd "$_pkgname"
+ make DESTDIR="$pkgdir/" install
+ install -D -m755 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}