diff --git a/cal3d/ChangeLog b/cal3d/ChangeLog new file mode 100644 index 000000000..79c5ae34a --- /dev/null +++ b/cal3d/ChangeLog @@ -0,0 +1,5 @@ +2010-10-24 Adrián Chaves Fernández (Gallaecio) + + * 0.11.0-1 : + Imported from Arch Linux's AUR: + http://aur.archlinux.org/packages.php?ID=10105 diff --git a/cal3d/PKGBUILD b/cal3d/PKGBUILD new file mode 100644 index 000000000..80d7f3df4 --- /dev/null +++ b/cal3d/PKGBUILD @@ -0,0 +1,36 @@ +# +# Games Packages for Chakra, part of chakra-project.org +# +# Maintainer: Adrián Chaves Fernández (Gallaecio) + +pkgname=cal3d +pkgver=0.11.0 +pkgrel=1 +pkgdesc="A skeletal-based 3D character animation library." +arch=('i686' 'x86_64') +url="https://gna.org/projects/cal3d" +license=('GPL2') +depends=('gcc-libs') +makedepends=('patch') +changelog=ChangeLog +source=("http://download.gna.org/$pkgname/sources/$pkgname-$pkgver.tar.gz" + "cal3d-gcc43.diff") +md5sums=('82ad09c1c28e73bc9596aec47237bfba' + 'f290fb54f844e044ae80165f083cf58f') + +build() { + cd $srcdir/$pkgname-$pkgver + + patch -p0 < ../cal3d-gcc43.diff + + ./configure \ + --prefix=/usr + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir install +} diff --git a/cal3d/cal3d-gcc43.diff b/cal3d/cal3d-gcc43.diff new file mode 100644 index 000000000..fc61235b2 --- /dev/null +++ b/cal3d/cal3d-gcc43.diff @@ -0,0 +1,53 @@ +--- src/cal3d/hardwaremodel.cpp ++++ src/cal3d/hardwaremodel.cpp +@@ -24,6 +24,7 @@ + #include "cal3d/coreskeleton.h" + #include "cal3d/skeleton.h" + ++#include + + /*****************************************************************************/ + /** Constructs the hardware model instance. +--- src/cal3d/platform.cpp ++++ src/cal3d/platform.cpp +@@ -18,6 +18,8 @@ + + #include "cal3d/platform.h" + ++#include ++ + /*****************************************************************************/ + /** Constructs the platform instance. + * +--- src/cal3d/renderer.cpp ++++ src/cal3d/renderer.cpp +@@ -29,6 +29,8 @@ + #include "cal3d/coresubmesh.h" + #include "cal3d/physique.h" + ++#include ++ + /*****************************************************************************/ + /** Constructs the renderer instance. + * +--- src/cal3d/submesh.cpp ++++ src/cal3d/submesh.cpp +@@ -16,6 +16,7 @@ + #include "cal3d/error.h" + #include "cal3d/coresubmesh.h" + ++#include + + CalSubmesh::CalSubmesh(CalCoreSubmesh* coreSubmesh) + { +--- src/cal3d_converter.cpp ++++ src/cal3d_converter.cpp +@@ -11,6 +11,8 @@ + + #include "cal3d/cal3d.h" + ++#include ++ + #define SKELETON 0 + #define MESH 1 + #define ANIMATION 2 diff --git a/dccnitghtmare/PKGBUILD b/dccnitghtmare/PKGBUILD new file mode 100644 index 000000000..acd404bea --- /dev/null +++ b/dccnitghtmare/PKGBUILD @@ -0,0 +1,33 @@ +# +# Games Packages for Chakra, part of chakra-project.org +# +# Maintainer: Adrián Chaves Fernández (Gallaecio) + +pkgname=dccnitghtmare +pkgver=0.7 +pkgrel=1 +pkgdesc="A sarcastic 3D single player RPG set in a post-apocalyptical world." +arch=('i686' 'x86_64') +url="http://dnt.dnteam.org/" +license=('custom:code:GPL' 'custom:media:GPL, CC:BY-SA or Public Domain' ) +depends=('cal3d' 'mesa' 'libgl' 'libvorbis' 'openal' 'sdl' 'sdl_image' 'sdl_ttf') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2") +md5sums=('fd015add7670b99ef1e0761544e90d40') + +build() { + cd $srcdir/$pkgname + + ./configure \ + --prefix=/usr \ + LDFLAGS="" + + make \ + LDFLAGS="" +} + +package() { + cd $srcdir/$pkgname + + mkdir -p $pkgdir/usr/bin + make prefix=$pkgdir/usr install +}