summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/opencollada/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/opencollada/PKGBUILD b/libre/opencollada/PKGBUILD
index d6ec1b979..820c60ecc 100644
--- a/libre/opencollada/PKGBUILD
+++ b/libre/opencollada/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=opencollada
-pkgver=20130413
+pkgver=20140214
pkgrel=1
pkgdesc="Stream based reader and writer library for COLLADA files (built for the blender-libre package)"
arch=(
@@ -26,7 +26,7 @@ prepare() {
cd $srcdir/OpenCOLLADA
# adapt source to last blender release
- git reset --hard 9665d1614b027ffd7815dc745c4fab4d69eb3321 # Sat Apr 13 01:27:39 2013 -0700
+ git reset --hard 8dc9e4e5b73caa1fcfe19508f381a087e036d886 # Fri Feb 14 14:32:18 2014 -0800
[[ -d build ]] && rm -r build
mkdir build
@@ -35,14 +35,14 @@ prepare() {
build() {
cd $srcdir/OpenCOLLADA/build
- setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- setarch $CARCH make
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DUSE_STATIC=OFF -DUSE_SHARED=ON
+ make
}
package() {
cd $srcdir/OpenCOLLADA/build
- setarch $CARCH make DESTDIR=$pkgdir install
+ make DESTDIR=$pkgdir install
install -d $pkgdir/etc/ld.so.conf.d
echo /usr/lib/$pkgname > $pkgdir/etc/ld.so.conf.d/$pkgname.conf