[arch-commits] Commit in (4 files)

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


    Date: Friday, April 12, 2019 @ 12:43:05
  Author: felixonmars
Revision: 451261

addpkg: perl-string-format 1.18-1

Added:
  perl-string-format/
  perl-string-format/repos/
  perl-string-format/trunk/
  perl-string-format/trunk/PKGBUILD

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

Added: perl-string-format/trunk/PKGBUILD
===================================================================
--- perl-string-format/trunk/PKGBUILD	                        (rev 0)
+++ perl-string-format/trunk/PKGBUILD	2019-04-12 12:43:05 UTC (rev 451261)
@@ -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