blob: a4a492ed69b336b1a5fdc9cf9e80880307a15f35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer (AUR): Zachary Koesters <zkoesters@utdallas.edu>
# parabola changes and rationale:
# - corrected used license
# - fixed arch array
# - added minizip dependency
pkgname="collada-dom"
provides=("colladadom")
pkgver=2.4.4
pkgrel=1
pkgdesc="An API that provides a C++ object representation of a COLLADA XML instance document."
url="https://github.com/rdiankov/collada-dom/tree/v2.4.4"
license=('MIT')
arch=("x86_64" "i686" "armv7h")
depends=("libxml2"
"boost-libs"
"pcre"
"minizip")
makedepends=("cmake"
"boost")
source=("https://github.com/rdiankov/${pkgname}/archive/v${pkgver}.tar.gz"
"0001-fix-return-type-thanks-to-22.patch")
sha256sums=("0dfa494827faa971310c871535b319cadbd0c2d6958ee11b303c61a55a5a437a"
"921742c7ad1094e1f25281869860b16cbab9d1fb0cb718fb32e0775861bdb13c")
prepare() {
cd "${pkgname}-${pkgver}"
patch -Np1 < ../0001-fix-return-type-thanks-to-22.patch
}
build() {
cd "${pkgname}-${pkgver}"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
"../${pkgname}-${pkgver}"
make
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm644 "licenses/license_e.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
make DESTDIR="${pkgdir}" install
}
|