opt/exiv2/Pkgfile

22 lines
565 B
Plaintext

# Description: Exif and Iptc metadata manipulation library and tools.
# URL: https://www.exiv2.org/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: cmake
name=exiv2
version=0.27.3
release=1
source=(https://github.com/Exiv2/exiv2/archive/v$version/$name-$version.tar.gz)
build() {
cmake -S$name-$version -Bbuild \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DEXIV2_ENABLE_BUILD_PO=OFF \
-DEXIV2_ENABLE_BUILD_SAMPLES=OFF \
cmake --build build
DESTDIR=$PKG cmake --install build
}