blob: 0de44bf6a08f6086a461f004eb512586151e5eab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Description: Read and write meta information
# URL: http://search.cpan.org/~exiftool/Image-ExifTool/
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: perl
# Optional: p5-archive-zip p5-posix-strptime
name=p5-image-exiftool
version=12.60
release=1
source=(http://search.cpan.org/CPAN/authors/id/E/EX/EXIFTOOL/Image-ExifTool-${version}.tar.gz)
build() {
cd Image-ExifTool-${version%.0}
perl Makefile.PL
make OPTIMIZE="$CFLAGS" DESTDIR="$PKG" install
find "$PKG" -depth \
-type f \( -name .packlist -o -name \*.bs -o -name autosplit.ix -o -name perllocal.pod \) -delete , \
-type d -empty -exec rmdir {} +
find "$PKG" \
-type f -name README -delete
}
|