summaryrefslogtreecommitdiff
path: root/community/opencollada/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/opencollada/PKGBUILD')
-rw-r--r--community/opencollada/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/opencollada/PKGBUILD b/community/opencollada/PKGBUILD
index cf2af3acb..3804e7621 100644
--- a/community/opencollada/PKGBUILD
+++ b/community/opencollada/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: PKGBUILD 83397 2013-01-31 10:18:08Z svenstaro $
+# $Id: PKGBUILD 84701 2013-02-22 15:29:30Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=opencollada
-pkgver=20130130
+pkgver=20130222
pkgrel=1
pkgdesc="Stream based reader and writer library for COLLADA files"
arch=(i686 x86_64)
@@ -9,6 +9,8 @@ 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
@@ -33,9 +35,9 @@ build() {
[[ -d build ]] && rm -r build
mkdir build && cd build
+
cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DUSE_SHARED=ON
+ -DCMAKE_INSTALL_PREFIX=/usr
make
}
@@ -43,6 +45,8 @@ package() {
cd "$srcdir/$_gitname-build/build"
make DESTDIR=$pkgdir install
+
+ install -Dm644 $srcdir/opencollada.conf $pkgdir/etc/ld.so.conf.d/opencollada.conf
}
# vim:set ts=2 sw=2 et: