From 1a50f3a5dabfbf24bdc9f9b234558599aa23c7d7 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Thu, 5 May 2022 16:44:23 +0000 Subject: user/perl-convert-color-xterm: new package --- user/perl-convert-color-xterm/APKBUILD | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 user/perl-convert-color-xterm/APKBUILD (limited to 'user/perl-convert-color-xterm') 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-60-g2f50