summaryrefslogtreecommitdiff
path: root/community/opencollada
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-09 00:05:27 -0700
committerroot <root@rshg054.dnsready.net>2013-04-09 00:05:27 -0700
commit987f836820eae061f40608b4ee1b6a14ecced3cc (patch)
treed28e524877b41fb49ccb7b2f99b36db2f9c90e89 /community/opencollada
parentce26b1905ac40cd9389e1c9f364a2ccd8f4ec13c (diff)
Tue Apr 9 00:05:27 PDT 2013
Diffstat (limited to 'community/opencollada')
-rw-r--r--community/opencollada/PKGBUILD35
1 files changed, 11 insertions, 24 deletions
diff --git a/community/opencollada/PKGBUILD b/community/opencollada/PKGBUILD
index 3804e7621..a11e7afc8 100644
--- a/community/opencollada/PKGBUILD
+++ b/community/opencollada/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: PKGBUILD 84701 2013-02-22 15:29:30Z svenstaro $
+# $Id: PKGBUILD 87935 2013-04-08 20:59:14Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=opencollada
-pkgver=20130222
+pkgver=20130408
pkgrel=1
pkgdesc="Stream based reader and writer library for COLLADA files"
arch=(i686 x86_64)
@@ -9,40 +9,27 @@ url="https://github.com/KhronosGroup/OpenCOLLADA"
license=('GPL')
depends=('libxml2' 'pcre')
makedepends=('git' 'cmake')
-source=('opencollada.conf')
-md5sums=('5f7e9d79ab86756648b648ee5ed6ce1d')
-
-_gitroot=git://github.com/KhronosGroup/OpenCOLLADA.git
-_gitname=opencollada
+source=('opencollada.conf'
+ 'git://github.com/KhronosGroup/OpenCOLLADA.git')
+md5sums=('5f7e9d79ab86756648b648ee5ed6ce1d'
+ 'SKIP')
build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting build..."
-
- rm -rf "$srcdir/$_gitname-build"
- git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd "$srcdir/$_gitname-build"
+ cd "$srcdir"/OpenCOLLADA
[[ -d build ]] && rm -r build
mkdir build && cd build
+# Activate these once pr#124 is merged
+# -DUSE_SHARED=ON \
+# -DUSE_STATIC=OFF \
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd "$srcdir/$_gitname-build/build"
+ cd "$srcdir"/OpenCOLLADA/build
make DESTDIR=$pkgdir install