# Maintainer (AUR): Zachary Koesters # 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 }