diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 11:21:11 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 11:48:26 +0300 |
commit | df23500ec13cc51c960db0e0ed1b3710dd5f46cc (patch) | |
tree | 065c3bbcab598a9804f2d2dc243a5260110e27ba /testing | |
parent | b960377d1d2bdf81271f8c4de1779678b3aadb39 (diff) | |
download | aports-df23500ec13cc51c960db0e0ed1b3710dd5f46cc.tar.bz2 aports-df23500ec13cc51c960db0e0ed1b3710dd5f46cc.tar.xz |
testing/perl-convert-color: new apkbuild-cpan generated aport
color space conversions and named lookups
http://search.cpan.org/dist/Convert-Color/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-convert-color/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-convert-color/APKBUILD b/testing/perl-convert-color/APKBUILD new file mode 100644 index 0000000000..7dcb373b38 --- /dev/null +++ b/testing/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" |