summaryrefslogblamecommitdiff
path: root/user/perl-convert-color/APKBUILD
blob: 9d1867e0d3daea0a2b67ba29663001e325125be2 (plain) (tree)
1
2
3
4
5
6
7
8






                                                           
           

























                                                                                        
                                                                                                                                                                        
# 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.14
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="848d140248dd8f31adfee2cdc323f81386967952f29d7e7f28653faf456f0b804a55a179780d7ef3d11adaaaecf499310c2e00350c32bb3db5a808d846c1187b  Convert-Color-0.14.tar.gz"