Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging 
/ Packages / perl-capture-tiny


Commits:
447a479d by Jan Alexander Steffens (heftig) at 2025-01-11T20:17:59+01:00
0.50-2: normalize

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = perl-capture-tiny
        pkgdesc = Capture STDOUT and STDERR from Perl, XS or external programs
        pkgver = 0.50
-       pkgrel = 1
+       pkgrel = 2
        url = https://metacpan.org/dist/Capture-Tiny
        arch = any
        license = Apache-2.0


=====================================
PKGBUILD
=====================================
@@ -1,31 +1,32 @@
-# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
 # Contributor: Caleb Cushing <[email protected]>
 
 pkgname=perl-capture-tiny
+_dist=Capture-Tiny
 pkgver=0.50
-pkgrel=1
+pkgrel=2
 pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs"
-url="https://metacpan.org/dist/Capture-Tiny";
+url="https://metacpan.org/dist/$_dist";
 arch=(any)
 license=(Apache-2.0)
 depends=(perl)
 options=('!emptydirs')
-source=(https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-$pkgver.tar.gz)
+source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/$_dist-$pkgver.tar.gz";)
 
b2sums=('a4d857e6e7238b599afc500516d13d10a7eb060922981d5eb0d6be24c98875ba490c4f2d66b340339d61d5731cf663da0222dc02793a00bf304f3b20146da826')
 
 build() {
-  cd Capture-Tiny-$pkgver
+  cd $_dist-$pkgver
   perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 check() {
-  cd Capture-Tiny-$pkgver
+  cd $_dist-$pkgver
   make test
 }
 
 package() {
-  cd Capture-Tiny-$pkgver
+  cd $_dist-$pkgver
   make DESTDIR="$pkgdir" install
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/perl-capture-tiny/-/commit/447a479d9b131591642018d178cbf13efa02bb64

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/perl-capture-tiny/-/commit/447a479d9b131591642018d178cbf13efa02bb64
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to