[arch-commits] Commit in perl-graphics-colornames-www/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 10:26:46 UTC 2020
Date: Sunday, June 21, 2020 @ 10:26:45
Author: felixonmars
Revision: 648943
archrelease: copy trunk to community-staging-any
Added:
perl-graphics-colornames-www/repos/community-staging-any/
perl-graphics-colornames-www/repos/community-staging-any/PKGBUILD
(from rev 648941, perl-graphics-colornames-www/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-graphics-colornames-www/repos/community-staging-any/PKGBUILD (from rev 648941, perl-graphics-colornames-www/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 10:26:45 UTC (rev 648943)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-graphics-colornames-www
+pkgver=1.13
+pkgrel=8
+pkgdesc="Perl/CPAN Module Graphics::ColorNames::WWW"
+arch=("any")
+url="https://search.cpan.org/dist/Graphics-ColorNames-WWW"
+license=("GPL" "PerlArtistic")
+makedepends=("perl-graphics-colornames")
+depends=("perl-graphics-colornames")
+source=("https://www.cpan.org/authors/id/C/CF/CFAERBER/Graphics-ColorNames-WWW-$pkgver.tar.gz")
+sha256sums=('c22b20f994701eef9fe4acbdbb9a595568be588f9f541a3cae106b45b7dec497')
+
+build() {
+ cd "$srcdir"/Graphics-ColorNames-WWW-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Graphics-ColorNames-WWW-$pkgver
+ make pure_install doc_install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list