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

Felix Yan felixonmars at archlinux.org
Fri Apr 12 12:44:43 UTC 2019


    Date: Friday, April 12, 2019 @ 12:44:40
  Author: felixonmars
Revision: 451262

archrelease: copy trunk to community-any

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

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

Copied: perl-string-format/repos/community-any/PKGBUILD (from rev 451261, perl-string-format/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-04-12 12:44:40 UTC (rev 451262)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-string-format
+pkgver=1.18
+pkgrel=1
+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