# Description: Reader and rewriter of EXIF informations that supports raw files
# URL: https://exiftool.org
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:

name=p5-image-exiftool
version=12.65
release=1
source=(https://exiftool.org/Image-ExifTool-$version.tar.gz)

build() {
  cd Image-ExifTool-$version

  perl Makefile.PL INSTALLDIRS=vendor
  make
  make DESTDIR=$PKG install

  install -dm 755 $PKG/usr/share/$name
  cp -R fmt_files config_files arg_files $PKG/usr/share/$name

  find $PKG \( -name '.packlist' -o -name '*.pod' -o -name 'README' \) -delete
}
