diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-04-26 10:21:01 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-04-26 10:21:01 -0300 |
commit | 8b62eb163aaa29bfe1668e5169271a04b0716c7f (patch) | |
tree | 9c35b41aa56447121a0a5921f9140199073fb16a /pcr/collada-dom | |
parent | ee387c4f2fc3fc5fc3251fd84a7386202e270d63 (diff) | |
download | abslibre-8b62eb163aaa29bfe1668e5169271a04b0716c7f.tar.gz abslibre-8b62eb163aaa29bfe1668e5169271a04b0716c7f.tar.bz2 abslibre-8b62eb163aaa29bfe1668e5169271a04b0716c7f.zip |
add mitsuba and collada-dom to pcr repo
Diffstat (limited to 'pcr/collada-dom')
-rw-r--r-- | pcr/collada-dom/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pcr/collada-dom/PKGBUILD b/pcr/collada-dom/PKGBUILD new file mode 100644 index 000000000..ebcc90448 --- /dev/null +++ b/pcr/collada-dom/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgname=collada-dom +pkgver=2.4.0 +pkgrel=1 +pkgdesc="An API that provides a C++ object representation of a ${pkgname::7} XML instance document" +url=http://sourceforge.net/projects/$pkgname +license=MIT +arch=( + i686 + x86_64 + mips64el +) +depends=( + boost-libs + libxml2 + pcre +) +makedepends=( + boost + cmake +) +source=http://downloads.sf.net/$pkgname/$pkgname-$pkgver-libsrc.tgz +sha512sums=4c8cdc159acc89564b46615a0bc73a5ba84a1a5aa41d38661cd0e33a705ce5fd032e9a308fc89f93ec10620892067d757cbff8f1b9ce53da7626ea0e27b0eda5 + +prepare() { + cd $srcdir/$pkgname-$pkgver-libsrc + + [[ -d build ]] && rm -r build + mkdir build +} + +build() { + cd $srcdir/$pkgname-$pkgver-libsrc/build + setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr + setarch $CARCH make +} + +package() { + cd $srcdir/$pkgname-$pkgver-libsrc/build + setarch $CARCH make DESTDIR=$pkgdir install + + a=$pkgdir/usr/share/licenses/$pkgname + + install -d $a && cp -a ../{dom/license.txt,License_Folder/license_e.txt} $a +} + +# vim:set ts=2 sw=2 et: |