pkgname: exiv2 pkgver: '0.28.8' pkgrel: '1' pkgdesc: Exif and Iptc metadata manipulation library and tools url: 'https://exiv2.org' arch: x86_64 license: - GPL2 depends: [] makedepends: - cmake - brotli - inih source: - 'https://github.com/Exiv2/exiv2/archive/v${pkgver}.tar.gz' sha256sums: - ea51b0609f58a9afa063b60daa1539948b62247721e154f4fff0ad3aec9f9756 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