description="Exif and Iptc metadata manipulation library and tools" url="http://www.exiv2.org/index.html" license="GPL2" packager="spiky " contributors="Pierre,Tnut" name=exiv2 version=0.28.1 makedepends=(cmake brotli inih) source=(https://github.com/Exiv2/exiv2/archive/v$version.tar.gz) build() { cd $name-$version 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=$PKG install install -Dm644 ../COPYING $PKG/usr/share/licenses/$name/COPYING }