blob: 889d53cbc1171c0a419e1227857301f8f2f4f98b (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-convert-color
_pkgreal=Convert-Color
_author=PEVANS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.12
pkgrel=0
pkgdesc="Perl utilities for color conversion"
url="https://metacpan.org/pod/Convert::Color"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
checkdepends="perl-test-number-delta"
makedepends="perl-list-utilsby perl-module-build perl-module-pluggable"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
./Build
}
check() {
./Build test
}
package() {
./Build install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="501690e4fbfdc7c16265a28f2ff7945cdf595e422680d786866e4854cc72345eddf2c2b7756977c5254fd97419289e2c51c64dfda49b20e20b5d026e26a61673 Convert-Color-0.12.tar.gz"
|