[arch-commits] Commit in perl-object-multitype/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 08:35:48 UTC 2021
Date: Monday, May 24, 2021 @ 08:35:48
Author: foutrelis
Revision: 944026
archrelease: copy trunk to community-staging-any
Added:
perl-object-multitype/repos/community-staging-any/
perl-object-multitype/repos/community-staging-any/PKGBUILD
(from rev 944020, perl-object-multitype/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: perl-object-multitype/repos/community-staging-any/PKGBUILD (from rev 944020, perl-object-multitype/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 08:35:48 UTC (rev 944026)
@@ -0,0 +1,25 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-object-multitype
+pkgver=0.05
+pkgrel=12
+pkgdesc="Perl/CPAN Module Object::MultiType"
+arch=("any")
+url="https://search.cpan.org/dist/Object-MultiType"
+license=("GPL" "PerlArtistic")
+source=("https://www.cpan.org/authors/id/G/GM/GMPASSOS/Object-MultiType-$pkgver.tar.gz")
+sha256sums=('aa65390e0120dfe98e8a2c510a81adc5d3e42efa3e13d54e85467303d911bf31')
+
+build() {
+ cd "$srcdir"/Object-MultiType-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Object-MultiType-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list