summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 76b417ad0d39410a9eab4c31a5b1a1eb4c15072d (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
# Maintainer: Caleb Jamison (cbjamo@gmail.com)

pkgname="collada-dom"
provides=("colladadom")
pkgver=2.5.0
pkgrel=1
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")
depends=("libxml2"
         "boost-libs"
         "pcre"
		 "minizip")
makedepends=("cmake"
             "boost")
source=("https://github.com/rdiankov/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=("3be672407a7aef60b64ce4b39704b32816b0b28f61ebffd4fbd02c8012901e0d")

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
}