diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 14:15:54 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 14:15:54 +0100 |
commit | a7f4e2376f48b5e35221be282d15c9b160204a67 (patch) | |
tree | f2e04a924f9cafd3101369971aa5cfa3274e5420 /cal3d/PKGBUILD | |
parent | f00b9e2ebb9d59c5dd8fd43e22b45ec956727915 (diff) | |
parent | a705959945e1efa15bd93e5f514615b5e4e8c504 (diff) | |
download | AUR-a7f4e2376f48b5e35221be282d15c9b160204a67.tar.gz AUR-a7f4e2376f48b5e35221be282d15c9b160204a67.tar.zst AUR-a7f4e2376f48b5e35221be282d15c9b160204a67.zip |
Add 'cal3d/' from commit 'a705959945e1efa15bd93e5f514615b5e4e8c504'
git-subtree-dir: cal3d
git-subtree-mainline: f00b9e2ebb9d59c5dd8fd43e22b45ec956727915
git-subtree-split: a705959945e1efa15bd93e5f514615b5e4e8c504
Diffstat (limited to 'cal3d/PKGBUILD')
-rw-r--r-- | cal3d/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cal3d/PKGBUILD b/cal3d/PKGBUILD new file mode 100644 index 0000000..c7507da --- /dev/null +++ b/cal3d/PKGBUILD | |||
@@ -0,0 +1,27 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=cal3d | ||
4 | pkgver=0.11.0 | ||
5 | pkgrel=7 | ||
6 | pkgdesc="A skeletal-based 3D character animation library" | ||
7 | arch=(i686 x86_64) | ||
8 | url="https://mp3butcher.github.io/Cal3D/" | ||
9 | options=(!libtool) | ||
10 | license=(GPL2) | ||
11 | depends=('gcc-libs') | ||
12 | makedepends=('patch') | ||
13 | source=(https://mp3butcher.github.io/Cal3D/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff) | ||
14 | sha512sums=('4dc4b36b8f18760bfe6f8c80cbd941c14e2ebe596d0cd514fdb1ae4175bf2706e125665272d67ff21d33bb4b34e7be22bad9c00d488c1da21f442550bf3f204f' | ||
15 | '8f7694ac240a7cbfc198d8e481ab87901d0256defffb1601f68ef39463bf1471e29e13d147e9a6463113afa0e93f317c2ef99aa19633b4e597e6347c38a64f42') | ||
16 | build() { | ||
17 | cd "${pkgname}-$pkgver" | ||
18 | patch -p0 < ../cal3d-gcc43.diff | ||
19 | sed -i -e "s/return false/return 0/" src/cal3d/loader.cpp | ||
20 | ./configure --prefix=/usr | ||
21 | make | ||
22 | } | ||
23 | |||
24 | package() { | ||
25 | cd "${pkgname}-$pkgver" | ||
26 | make DESTDIR=${pkgdir} install | ||
27 | } | ||