From b43201a473261da4e73bbbf1b84fbe52b75a8ae8 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Tue, 26 Aug 2014 04:44:58 -0300 Subject: change opencollada to opencollada-parabola --- libre/opencollada-parabola/PKGBUILD | 50 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 26 deletions(-) (limited to 'libre') diff --git a/libre/opencollada-parabola/PKGBUILD b/libre/opencollada-parabola/PKGBUILD index 18b74597f..73afdc2b0 100644 --- a/libre/opencollada-parabola/PKGBUILD +++ b/libre/opencollada-parabola/PKGBUILD @@ -1,41 +1,39 @@ +# Maintainer (Arch): Sven-Hendrik Haase # Maintainer: Márcio Silva -pkgname=opencollada +_pkgname=opencollada +pkgname=$_pkgname-parabola 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 +pkgdesc="Stream based reader and writer library for COLLADA files (built for the blender-parabola package)" +arch=('i686' 'x86_64' 'mips64el') +url='https://github.com/KhronosGroup/OpenCOLLADA' +license=('GPL') +depends=('libxml2' 'pcre') +makedepends=('git' 'cmake') +provides=("$_pkgname") +conflicts=("$_pkgname") +replaces=("$_pkgname") +source=('git://github.com/KhronosGroup/OpenCOLLADA.git') +md5sums=('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 + cd "$srcdir"/OpenCOLLADA + + [[ -d build ]] && rm -r build + mkdir build && cd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DUSE_STATIC=OFF -DUSE_SHARED=ON + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DUSE_SHARED=ON \ + -DUSE_STATIC=OFF make } @@ -44,8 +42,8 @@ package() { make DESTDIR=$pkgdir install - install -d $pkgdir/etc/ld.so.conf.d - echo /usr/lib/$pkgname > $pkgdir/etc/ld.so.conf.d/$pkgname.conf + 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: -- cgit v1.2.3-54-g00ecf