pkgname: exiv2 pkgver: '0.28.9' pkgrel: '1' pkgdesc: Exif and Iptc metadata manipulation library and tools url: 'https://exiv2.org' arch: x86_64 license: - GPL2 depends: - brotli - curl - expat - inih makedepends: - cmake - brotli - inih source: - 'https://github.com/Exiv2/exiv2/archive/v${pkgver}.tar.gz' sha256sums: - 700b76b97695b2fab4ef8c79619c68ae57d09e0c130724791cafbd39e0eb4aef build: | cd ${pkgname}-${pkgver} mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DEXIV2_ENABLE_VIDEO=yes \ -DEXIV2_ENABLE_WEBREADY=yes \ -DEXIV2_ENABLE_CURL=yes \ -DEXIV2_BUILD_SAMPLES=no \ -G "Unix Makefiles" .. make make DESTDIR=${PKGDIR} install install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING package: | true