desktop/perl-exiftool/PKGBUILD

34 lines
1.0 KiB
Bash
Raw Normal View History

2011-01-26 07:35:56 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# contributor: Rajit Vikram Singh <rajit.vikram.singh@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-exiftool
_srcname=Image-ExifTool
pkgver=8.45
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=(any)
depends=('perl')
source=(http://www.sno.phy.queensu.ca/~phil/exiftool/${_srcname}-${pkgver}.tar.gz)
options=(!emptydirs)
md5sums=('ea4235bd5241e446051e62a1797f21f8')
build() {
cd ${srcdir}/${_srcname}-${pkgver}
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
# remove *.pod, .packlist, and empty dirs:
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name '*.pod' -delete
}