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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 09:31:32 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:31:31
  Author: felixonmars
Revision: 1213983

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-class-methodmaker/repos/community-staging-x86_64/
  perl-class-methodmaker/repos/community-staging-x86_64/PKGBUILD
    (from rev 1213981, perl-class-methodmaker/trunk/PKGBUILD)

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

Copied: perl-class-methodmaker/repos/community-staging-x86_64/PKGBUILD (from rev 1213981, perl-class-methodmaker/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 09:31:31 UTC (rev 1213983)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-class-methodmaker
+pkgver=2.24
+pkgrel=11
+pkgdesc="Create generic class methods"
+arch=('x86_64')
+url="https://search.cpan.org/dist/Class-MethodMaker"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-${pkgver}.tar.gz")
+md5sums=('6fac1ed1fea8a4e42d36a4d07c8bfa09')
+
+build() {
+  cd  "$srcdir"/Class-MethodMaker-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
+  make
+}
+
+package() {
+  cd  "$srcdir"/Class-MethodMaker-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list