[arch-commits] Commit in perl-color-calc/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 12:04:19 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:04:19
Author: foutrelis
Revision: 366646
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 366645, perl-color-calc/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-color-calc/repos/community-staging-any/PKGBUILD (from rev 366645, perl-color-calc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:04:19 UTC (rev 366646)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-color-calc
+pkgver=1.074
+pkgrel=4
+pkgdesc="Perl/CPAN Module Color::Calc : Simple calculations with RGB colors"
+arch=('any')
+url="http://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=("http://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