diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-21 08:16:21 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-21 08:16:21 +0100 |
commit | 582ff20e1c0e2852ad28952505028ebe3e532b96 (patch) | |
tree | 620b69fc654517792686cb90a6df234da6c9aeaa /pcr/collada-dom/PKGBUILD | |
parent | 2d088f93f155f1de2b4328f864fefaa966bd1540 (diff) | |
download | abslibre-582ff20e1c0e2852ad28952505028ebe3e532b96.tar.gz abslibre-582ff20e1c0e2852ad28952505028ebe3e532b96.tar.bz2 abslibre-582ff20e1c0e2852ad28952505028ebe3e532b96.zip |
pcr/collada-dom: updated to 2.4.4
Diffstat (limited to 'pcr/collada-dom/PKGBUILD')
-rw-r--r-- | pcr/collada-dom/PKGBUILD | 72 |
1 files changed, 35 insertions, 37 deletions
diff --git a/pcr/collada-dom/PKGBUILD b/pcr/collada-dom/PKGBUILD index 77d674064..a4a492ed6 100644 --- a/pcr/collada-dom/PKGBUILD +++ b/pcr/collada-dom/PKGBUILD @@ -1,47 +1,45 @@ -# Maintainer: Márcio Silva <coadde@hyperbola.info> - -pkgname=collada-dom -pkgver=2.4.0 -pkgrel=4 -pkgdesc="An API that provides a C++ object representation of a ${pkgname::7} XML instance document" -url=http://sourceforge.net/projects/$pkgname +# 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 -) -depends=( - boost-libs - libxml2 - pcre -) -makedepends=( - boost - cmake -) -source=("http://downloads.sf.net/$pkgname/$pkgname-$pkgver-libsrc.tgz") -sha512sums=('4c8cdc159acc89564b46615a0bc73a5ba84a1a5aa41d38661cd0e33a705ce5fd032e9a308fc89f93ec10620892067d757cbff8f1b9ce53da7626ea0e27b0eda5') +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 $srcdir/$pkgname-$pkgver-libsrc - - [[ -d build ]] && rm -vr build - mkdir -v build + cd "${pkgname}-${pkgver}" + patch -Np1 < ../0001-fix-return-type-thanks-to-22.patch } build() { - cd $srcdir/$pkgname-$pkgver-libsrc/build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr - make + cd "${pkgname}-${pkgver}" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + "../${pkgname}-${pkgver}" + make } package() { - cd $srcdir/$pkgname-$pkgver-libsrc/build - make DESTDIR=$pkgdir install - - a=$pkgdir/usr/share/licenses/$pkgname - - install -vd $a && cp -va ../{dom/license.txt,License_Folder/license_e.txt} $a + cd "${pkgname}-${pkgver}" + install -Dm644 "licenses/license_e.txt" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + make DESTDIR="${pkgdir}" install } - -# vim:set ts=2 sw=2 et: |