1 # Maintainer: Florian Pritz <bluewind@xinu.at>
2 # Contributor: tobias <tobias@archlinux.org>
3 # Contributor: Tobias Kieslich <tobias@justdreams.de>
4 # Contributor: Firmicus <francois.archlinux.org>
6 pkgname=perl-image-exiftool
7 _srcname=Image-ExifTool
10 pkgdesc="Reader and rewriter of EXIF informations that supports raw files"
12 url="https://search.cpan.org/perldoc?exiftool"
15 optdepends=('perl-archive-zip: Support for ZIP-files, including EPUB')
16 provides=("perl-exiftool=$pkgver")
17 replaces=("perl-exiftool")
18 options=('!emptydirs')
19 source=(https://exiftool.org/${_srcname}-$pkgver.tar.gz)
20 md5sums=('4baf1f4306c067de88bad4f6d25766da')
23 cd "${srcdir}/${_srcname}-${pkgver}"
24 # install module in vendor directories.
25 perl Makefile.PL INSTALLDIRS=vendor
30 cd "${srcdir}/${_srcname}-${pkgver}"
35 cd "${srcdir}/${_srcname}-${pkgver}"
36 make DESTDIR="${pkgdir}" install
37 install -dm755 "$pkgdir/usr/share/$pkgname"
38 cp -r fmt_files config_files arg_files "$pkgdir/usr/share/$pkgname"