mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 07:37:15 +08:00
Add perl-exiftool to testing
This commit is contained in:
parent
fba9ef35b7
commit
e9f58b1fc1
29
perl-exiftool/PKGBUILD
Normal file
29
perl-exiftool/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
#
|
||||
# Platform 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>
|
||||
|
||||
pkgname=perl-exiftool
|
||||
_srcname=Image-ExifTool
|
||||
pkgver=8.52
|
||||
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=('ec219d6735ea3377e8853d69a52907b1')
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user