diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-26 00:44:12 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-26 00:44:12 -0300 |
commit | 3bf45086e107910455c4e8f66f78f0b796d1bb1e (patch) | |
tree | 32dabcf06066c54c15620d7e9e9658aac1b9af6d /libre/opencollada-parabola/PKGBUILD | |
parent | 6aff6fe1ade84ea2400c256ab694a1ad4695a338 (diff) | |
download | abslibre-3bf45086e107910455c4e8f66f78f0b796d1bb1e.tar.gz abslibre-3bf45086e107910455c4e8f66f78f0b796d1bb1e.tar.bz2 abslibre-3bf45086e107910455c4e8f66f78f0b796d1bb1e.zip |
opencolorio-parabola: rebuild package
Diffstat (limited to 'libre/opencollada-parabola/PKGBUILD')
-rw-r--r-- | libre/opencollada-parabola/PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/libre/opencollada-parabola/PKGBUILD b/libre/opencollada-parabola/PKGBUILD new file mode 100644 index 000000000..18b74597f --- /dev/null +++ b/libre/opencollada-parabola/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Márcio Silva <coadde@parabola.nu> + +pkgname=opencollada +pkgver=20140214 +pkgrel=1 +pkgdesc="Stream based reader and writer library for COLLADA files (built for the blender-libre package)" +arch=( + i686 + x86_64 + mips64el +) +url=https://github.com/KhronosGroup/OpenCOLLADA +license=GPL +depends=( + libxml2 + pcre +) +makedepends=( + git + cmake +) +source=git://github.com/KhronosGroup/OpenCOLLADA.git +sha512sums=SKIP + +prepare() { + cd $srcdir/OpenCOLLADA + + # adapt source to last blender release + git reset --hard 8dc9e4e5b73caa1fcfe19508f381a087e036d886 # Fri Feb 14 14:32:18 2014 -0800 + + [[ -d build ]] && rm -r build + mkdir build +} + +build() { + cd $srcdir/OpenCOLLADA/build + + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DUSE_STATIC=OFF -DUSE_SHARED=ON + make +} + +package() { + cd $srcdir/OpenCOLLADA/build + + make DESTDIR=$pkgdir install + + install -d $pkgdir/etc/ld.so.conf.d + echo /usr/lib/$pkgname > $pkgdir/etc/ld.so.conf.d/$pkgname.conf +} + +# vim:set ts=2 sw=2 et: |