summaryrefslogtreecommitdiff
path: root/user/perl-convert-color-xterm/APKBUILD
blob: 9b77c882897a94b8dbc46fdbd9083722a9e921c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"