mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
37 lines
759 B
Bash
37 lines
759 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
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
|
|
}
|