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

Felix Yan felixonmars at archlinux.org
Sat May 25 08:49:50 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:49:49
  Author: felixonmars
Revision: 469926

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 469923, perl-class-methodmaker/trunk/PKGBUILD)

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

Copied: perl-class-methodmaker/repos/community-staging-x86_64/PKGBUILD (from rev 469923, perl-class-methodmaker/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 08:49:49 UTC (rev 469926)
@@ -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=7
+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