[arch-commits] Commit in perl-class-singleton/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:21:18 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:21:17
  Author: felixonmars
Revision: 658428

archrelease: copy trunk to community-staging-any

Added:
  perl-class-singleton/repos/community-staging-any/
  perl-class-singleton/repos/community-staging-any/PKGBUILD
    (from rev 658427, perl-class-singleton/trunk/PKGBUILD)

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

Copied: perl-class-singleton/repos/community-staging-any/PKGBUILD (from rev 658427, perl-class-singleton/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:21:17 UTC (rev 658428)
@@ -0,0 +1,28 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+
+pkgname=perl-class-singleton
+pkgver=1.5
+pkgrel=4
+pkgdesc="Implementation of a singleton class"
+arch=('any')
+url="https://search.cpan.org/dist/Class-Singleton"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/S/SH/SHAY/Class-Singleton-$pkgver.tar.gz")
+md5sums=('6a2524f590eda075f4bc929598119241')
+
+build() {
+  cd  "$srcdir"/Class-Singleton-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/Class-Singleton-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}


More information about the arch-commits mailing list