[arch-commits] Commit in perl-string-format/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 08:34:45 UTC 2021


    Date: Monday, May 24, 2021 @ 08:34:44
  Author: felixonmars
Revision: 943991

archrelease: copy trunk to community-staging-any

Added:
  perl-string-format/repos/community-staging-any/
  perl-string-format/repos/community-staging-any/PKGBUILD
    (from rev 943989, perl-string-format/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: perl-string-format/repos/community-staging-any/PKGBUILD (from rev 943989, perl-string-format/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:34:44 UTC (rev 943991)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-string-format
+pkgver=1.18
+pkgrel=4
+pkgdesc="sprintf-like string formatting capabilities with arbitrary format definitions"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/String-Format"
+depends=('perl')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/S/SR/SREZIC/String-Format-$pkgver.tar.gz")
+sha512sums=('34eb3991a9bea931f59ca1683ba72d8b07244ed4c2a9409be0626346526b4eb2ab07acdd5c4eabf44a767867a4991e97d89835eb0e4c3c43b413de75eb3c0d5d')
+
+build() {
+  cd String-Format-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd String-Format-$pkgver
+  make test
+}
+
+package() {
+  cd String-Format-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list