aboutsummaryrefslogblamecommitdiff
path: root/PKGBUILD
blob: 890a9c5a6f458e18a2804beae4c2b5bd0119f453 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                  

             
        






                                                         
                                                                                         




                                            
                                                           







                                
# Maintainer : Immae <ismael.bouya@normalesup.org>

pkgname=cal3d
pkgver=0.11.0
pkgrel=7
pkgdesc="A skeletal-based 3D character animation library"
arch=(i686 x86_64)
url="https://gna.org/projects/cal3d"
options=(!libtool)
license=(GPL2)
depends=('gcc-libs')
makedepends=('patch')
source=(https://mp3butcher.github.io/Cal3D/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff)
md5sums=('82ad09c1c28e73bc9596aec47237bfba'
         'f290fb54f844e044ae80165f083cf58f')
build() {
  cd "${pkgname}-$pkgver"
  patch -p0 < ../cal3d-gcc43.diff
  sed -i -e "s/return false/return 0/" src/cal3d/loader.cpp
  ./configure --prefix=/usr
  make
}

package() {
  cd "${pkgname}-$pkgver"
  make DESTDIR=${pkgdir} install
}