blob: 45299f263563e24155c9315af20b9ece70cc9fa2 (
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
|
# Maintainer: Caleb Jamison (cbjamo@gmail.com)
pkgname="collada-dom"
provides=("colladadom")
pkgver=2.5.0
pkgrel=5
pkgdesc="An API that provides a C++ object representation of a COLLADA XML instance document."
url="https://github.com/rdiankov/collada-dom/"
license=("custom")
arch=("x86_64" "aarch64")
depends=("libxml2"
"boost-libs"
"pcre"
"minizip"
"gcc-libs"
"glibc")
makedepends=("cmake"
"boost")
source=("${pkgname}.${pkgver}.tar.gz::https://github.com/rdiankov/${pkgname}/archive/v${pkgver}.tar.gz"
"fix-compatibility-with-boost-1.85.patch")
sha256sums=("3be672407a7aef60b64ce4b39704b32816b0b28f61ebffd4fbd02c8012901e0d"
"cfab02f0048b45eea59286d1d054db2e5d7beaea675cd2b22130cac955713955")
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i "$srcdir/fix-compatibility-with-boost-1.85.patch"
}
build() {
cmake -B build -S "${pkgname}-${pkgver}" \
-DCMAKE_INSTALL_PREFIX=/usr \
-Wno-dev
cmake --build build
}
package() {
install -Dm644 "${pkgname}-${pkgver}/licenses/license_e.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
DESTDIR="${pkgdir}" cmake --install build
}
|