[arch-commits] Commit in perl-math-base85/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 16:11:40 UTC 2020
Date: Sunday, June 21, 2020 @ 16:11:39
Author: felixonmars
Revision: 649668
archrelease: copy trunk to community-staging-any
Added:
perl-math-base85/repos/community-staging-any/
perl-math-base85/repos/community-staging-any/PKGBUILD
(from rev 649667, perl-math-base85/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: perl-math-base85/repos/community-staging-any/PKGBUILD (from rev 649667, perl-math-base85/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 16:11:39 UTC (rev 649668)
@@ -0,0 +1,25 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-math-base85
+pkgver=0.4
+pkgrel=3
+pkgdesc="Perl/CPAN Module Math::Base85"
+arch=("any")
+url="https://search.cpan.org/dist/Math-Base85"
+license=("GPL" "PerlArtistic")
+source=("https://cpan.metacpan.org/authors/id/P/PT/PTC/Math-Base85-$pkgver.tar.gz")
+sha256sums=('9ea858600f925e1ffc7f0a863b7835892d9899fcf44b3e5090eca3a469b98b0d')
+
+build() {
+ cd "$srcdir"/Math-Base85-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Math-Base85-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list