[arch-commits] Commit in perl-class-methodmaker/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 08:35:20 UTC 2021
Date: Monday, May 24, 2021 @ 08:35:20
Author: foutrelis
Revision: 944010
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 944007, perl-class-methodmaker/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-class-methodmaker/repos/community-staging-x86_64/PKGBUILD (from rev 944007, perl-class-methodmaker/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-24 08:35:20 UTC (rev 944010)
@@ -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=10
+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