diff options
author | dai9ah <dai9ah@protonmail.com> | 2018-03-02 20:37:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-05 23:37:08 +0000 |
commit | 7cfeeacf19f724cf0d16b7b7fbdda60e16915cdf (patch) | |
tree | 69dbc3c0bbba8c4d550af929fff94d56027f44fa /main/perl-image-exiftool | |
parent | 78cc5d6fe637fc2e0600bb41bebdd5bfe8cc4681 (diff) | |
download | aports-7cfeeacf19f724cf0d16b7b7fbdda60e16915cdf.tar.bz2 aports-7cfeeacf19f724cf0d16b7b7fbdda60e16915cdf.tar.xz |
main/perl-image-exiftool: upgrade to 10.82, modernize
Diffstat (limited to 'main/perl-image-exiftool')
-rw-r--r-- | main/perl-image-exiftool/APKBUILD | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/main/perl-image-exiftool/APKBUILD b/main/perl-image-exiftool/APKBUILD index 3b74220687..c757c39765 100644 --- a/main/perl-image-exiftool/APKBUILD +++ b/main/perl-image-exiftool/APKBUILD @@ -1,10 +1,10 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-image-exiftool -pkgver=10.55 +pkgver=10.82 pkgrel=0 -pkgdesc="Perl module for editing exif meta info in files" -url="http://www.sno.phy.queensu.ca/~phil/exiftool/" +pkgdesc="Perl module for editing exif metadata in files" +url="http://www.sno.phy.queensu.ca/~phil/exiftool" arch="noarch" license="Perl" depends="perl" @@ -14,24 +14,14 @@ subpackages="$pkgname-doc exiftool" source="http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-$pkgver.tar.gz" _builddir="$srcdir"/Image-ExifTool-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - build() { - cd $_builddir - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make && make test || return 1 + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make && make test } package() { - cd $_builddir + cd "$_builddir" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete @@ -39,10 +29,10 @@ package() { } exiftool() { - pkgdesc="Tool for editing exif meta info in files" + pkgdesc="Tool for editing exif metadata in files" depends="perl-image-exiftool" mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } -sha512sums="7c11ae53cf43a621d1144860cc6d5c2f2c0f3bb7b5b4a6ecfd090112df7b829c152c4b91bbf24b4ce03d33300748fa19cae842d8a108f7e3d52572f0ab2b0c39 Image-ExifTool-10.55.tar.gz" +sha512sums="f1a7c08e12b8d5ad445dcb2deb80991d2dc147094bdf9f69ea9574e937a1b0965336910b3478bb965cd6fe932cd8b9d94f64110cd9628f3cf5d22a2b7f1a5b98 Image-ExifTool-10.82.tar.gz" |