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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:11:36 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:11:36
  Author: bluewind
Revision: 366302

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

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

Copied: perl-class-methodmaker/repos/community-staging-x86_64/PKGBUILD (from rev 366299, perl-class-methodmaker/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 09:11:36 UTC (rev 366302)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-class-methodmaker
+pkgver=2.24
+pkgrel=6
+pkgdesc="Create generic class methods"
+arch=('x86_64')
+url="http://search.cpan.org/dist/Class-MethodMaker"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://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