[arch-commits] Commit in perl-color-calc/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 11:59:52 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:59:52
  Author: foutrelis
Revision: 1214633

archrelease: copy trunk to community-staging-any

Added:
  perl-color-calc/repos/community-staging-any/
  perl-color-calc/repos/community-staging-any/PKGBUILD
    (from rev 1214632, perl-color-calc/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: perl-color-calc/repos/community-staging-any/PKGBUILD (from rev 1214632, perl-color-calc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 11:59:52 UTC (rev 1214633)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-color-calc
+pkgver=1.074
+pkgrel=8
+pkgdesc="Perl/CPAN Module Color::Calc : Simple calculations with RGB colors"
+arch=('any')
+url="https://search.cpan.org/dist/Color-Calc"
+license=("GPL" "PerlArtistic")
+depends=("perl-params-validate" "perl-graphics-colornames-www" "perl-graphics-colornames")
+makedepends=("perl-params-validate" "perl-graphics-colornames-www" "perl-graphics-colornames")
+source=("https://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/Color-Calc-$pkgver.tar.gz")
+md5sums=('0b0ba7d5b5cab45f91797c900b1838f1')
+
+build() {
+  cd "$srcdir"/Color-Calc-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/Color-Calc-$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