diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-05 16:44:23 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:41 +0000 |
commit | e2a72635c60564c50765aa3e6dbd4bb923076e9c (patch) | |
tree | d6592090fdd4edf6ad70e7c8c71d7379f33921a9 /user/perl-convert-color-xterm | |
parent | 74009f3ab226471518b61beec1abe1881c6d6b3f (diff) | |
download | packages-e2a72635c60564c50765aa3e6dbd4bb923076e9c.tar.gz packages-e2a72635c60564c50765aa3e6dbd4bb923076e9c.tar.bz2 packages-e2a72635c60564c50765aa3e6dbd4bb923076e9c.tar.xz packages-e2a72635c60564c50765aa3e6dbd4bb923076e9c.zip |
user/perl-convert-color-xterm: new package
Diffstat (limited to 'user/perl-convert-color-xterm')
-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" |