blob: 95261b76ecd096f5473c7279e16eea7fd87368f0 (
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=11.85
release=2
source=(http://search.cpan.org/CPAN/authors/id/E/EX/EXIFTOOL/Image-ExifTool-${version}.tar.gz)
build() {
cd Image-ExifTool-$version
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
}
|