diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-convert-color-xterm/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/perl-convert-color-xterm/APKBUILD b/user/perl-convert-color-xterm/APKBUILD new file mode 100644 index 000000000..9b77c8828 --- /dev/null +++ b/user/perl-convert-color-xterm/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=perl-convert-color-xterm +_pkgreal=Convert-Color-XTerm +_author=PEVANS +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.06 +pkgrel=0 +pkgdesc="Module for Convert::Color which supports XTerm colour indices" +url="https://metacpan.org/pod/Convert::Color::XTerm" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +checkdepends="" +makedepends="perl-convert-color 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="27ac6790f6314dfc0e5f67304f97fdd5ef752721ad82ad493486f99119ea3227a55dc6e479e7086a8c23f1c85fb4c501a06ec1f0638034420c33aaad1facb67a Convert-Color-XTerm-0.06.tar.gz" |