mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
32 lines
869 B
Bash
32 lines
869 B
Bash
# Maintainer: Ernesto Manriquez <alejandronova@gmail.com>
|
|
|
|
pkgname=perl-exiftool
|
|
_srcname=Image-ExifTool
|
|
pkgver=9.44
|
|
pkgrel=1
|
|
license=('GPL')
|
|
pkgdesc="Reader and rewriter of EXIF informations that supports raw files"
|
|
url="http://www.sno.phy.queensu.ca/~phil/exiftool/"
|
|
arch=('x86_64')
|
|
depends=('perl')
|
|
optdepends=('perl-archive-zip: decode compressed zip information')
|
|
source=(http://www.sno.phy.queensu.ca/~phil/exiftool/${_srcname}-${pkgver}.tar.gz)
|
|
options=(!emptydirs)
|
|
md5sums=('9c9c001a048a2c24c68c9b6f1044e89d')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_srcname}-${pkgver}
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${_srcname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
# remove *.pod, .packlist, and empty dirs:
|
|
find ${pkgdir} -name '.packlist' -delete
|
|
find ${pkgdir} -name '*.pod' -delete
|
|
}
|
|
|