diff options
Diffstat (limited to 'main/perl-convert-color')
-rw-r--r-- | main/perl-convert-color/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/perl-convert-color/APKBUILD b/main/perl-convert-color/APKBUILD new file mode 100644 index 0000000000..7dcb373b38 --- /dev/null +++ b/main/perl-convert-color/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=perl-convert-color +_pkgreal=Convert-Color +pkgver=0.08 +pkgrel=0 +pkgdesc="color space conversions and named lookups" +url="http://search.cpan.org/dist/Convert-Color/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-list-utilsby" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + perl Build.PL installdirs=vendor || return 1 +} + +build() { + cd "$_builddir" + ./Build && ./Build test +} + +package() { + cd "$_builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="4be0690e0a0011e56a75f967ac9ab7df Convert-Color-0.08.tar.gz" |