[arch-commits] Commit in perl-graphics-colornames/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 12:51:07 UTC 2020
Date: Tuesday, July 7, 2020 @ 12:51:07
Author: felixonmars
Revision: 658246
archrelease: copy trunk to community-staging-any
Added:
perl-graphics-colornames/repos/community-staging-any/
perl-graphics-colornames/repos/community-staging-any/PKGBUILD
(from rev 658244, perl-graphics-colornames/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-graphics-colornames/repos/community-staging-any/PKGBUILD (from rev 658244, perl-graphics-colornames/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 12:51:07 UTC (rev 658246)
@@ -0,0 +1,31 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-graphics-colornames
+pkgver=2.11
+pkgrel=9
+pkgdesc="Perl/CPAN Module Graphics::ColorNames : provides RGB values for standard color names"
+arch=('any')
+url="https://search.cpan.org/~rrwo/Graphics-ColorNames/"
+license=("GPL" "PerlArtistic")
+depends=("perl")
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/R/RR/RRWO/Graphics-ColorNames-${pkgver}.tar.gz")
+md5sums=('047eabbb48d7c29cfebac6f9da8478f6')
+
+build() {
+ cd Graphics-ColorNames-${pkgver}
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+ make
+}
+
+package() {
+ cd Graphics-ColorNames-${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