blob: bb23608a24b83272a4bb746a84d9e35f44b7e837 (
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.13
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="d805c7febbb865de85bd024f22d6b5ff400793d45af9034cad2a2dca89db0beee5b0a27c6ac424d99ad1a00b437c7387f4b6e77b87b8c3aaefdc43d932d2fbb5 Convert-Color-0.13.tar.gz"
|