upgpkg: sbcl 2.2.5-1
[arch-packages.git] / perl-image-exiftool / repos / extra-any / PKGBUILD
blobc464f46c9160ed1e878607d4048505c4fffffaba
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
8 pkgver=12.42
9 pkgrel=1
10 pkgdesc="Reader and rewriter of EXIF informations that supports raw files"
11 arch=('any')
12 url="https://search.cpan.org/perldoc?exiftool"
13 license=('GPL')
14 depends=('perl')
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')
22 build() {
23   cd "${srcdir}/${_srcname}-${pkgver}"
24   # install module in vendor directories.
25   perl Makefile.PL INSTALLDIRS=vendor
26   make
29 check() {
30   cd "${srcdir}/${_srcname}-${pkgver}"
31   make test
34 package() {
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"