T.J. Townsend pushed to branch main at Arch Linux / Packaging / Packages / 
perl-image-exiftool


Commits:
35eb3b26 by T.J. Townsend at 2024-04-05T15:23:31-04:00
upgpkg: 12.76-2: build from git tag

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
 pkgbase = perl-image-exiftool
        pkgdesc = Reader and rewriter of EXIF information that supports raw 
files
        pkgver = 12.76
-       pkgrel = 1
+       pkgrel = 2
        url = https://exiftool.org/
        arch = any
        license = GPL
+       makedepends = git
        depends = perl
        optdepends = perl-archive-zip: Support for zip files, including epub
        optdepends = perl-io-compress-brotli: Support for brotli-compressed 
metadata
        provides = perl-exiftool=12.76
        replaces = perl-exiftool
        options = !emptydirs
-       source = https://exiftool.org/Image-ExifTool-12.76.tar.gz
-       sha256sums = 
5d3430ec57aa031f7ca43170f7ed6338a66bda99ab95b9e071f1ee27555f515f
+       source = git+https://github.com/exiftool/exiftool.git#tag=12.76
+       sha256sums = 
f13c7210a28990a6aad1cfb3e683aaa601e796ccbee3c10d12e45fea52cf4b49
 
 pkgname = perl-image-exiftool


=====================================
PKGBUILD
=====================================
@@ -5,36 +5,36 @@
 # Contributor: Firmicus <francois.archlinux.org>
 
 pkgname=perl-image-exiftool
-_srcname=Image-ExifTool
 pkgver=12.76
-pkgrel=1
+pkgrel=2
 pkgdesc="Reader and rewriter of EXIF information that supports raw files"
 arch=('any')
 url="https://exiftool.org/";
 license=('GPL')
+makedepends=('git')
 depends=('perl')
 optdepends=('perl-archive-zip: Support for zip files, including epub'
             'perl-io-compress-brotli: Support for brotli-compressed metadata')
 provides=("perl-exiftool=${pkgver}")
 replaces=("perl-exiftool")
 options=('!emptydirs')
-source=(https://exiftool.org/${_srcname}-${pkgver}.tar.gz)
-sha256sums=('5d3430ec57aa031f7ca43170f7ed6338a66bda99ab95b9e071f1ee27555f515f')
+source=("git+https://github.com/exiftool/exiftool.git#tag=${pkgver}";)
+sha256sums=('f13c7210a28990a6aad1cfb3e683aaa601e796ccbee3c10d12e45fea52cf4b49')
 
 build() {
-  cd "${_srcname}-${pkgver}"
+  cd exiftool
   # install module in vendor directories.
   perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 check() {
-  cd "${_srcname}-${pkgver}"
+  cd exiftool
   make test
 }
 
 package() {
-  cd "${_srcname}-${pkgver}"
+  cd exiftool
   make DESTDIR="${pkgdir}" install
   install -dm755 "${pkgdir}/usr/share/${pkgname}"
   cp -r fmt_files config_files arg_files "${pkgdir}/usr/share/${pkgname}"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/perl-image-exiftool/-/commit/35eb3b268f9b0cc48d8590381f3b07e33c22d660

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/perl-image-exiftool/-/commit/35eb3b268f9b0cc48d8590381f3b07e33c22d660
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to