summaryrefslogtreecommitdiff
path: root/user/perl-string-tagged-terminal/APKBUILD
blob: c0467f88fb8d847e22101653d14561394de75f1f (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-string-tagged-terminal
_pkgreal=String-Tagged-Terminal
_author=PEVANS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.05
pkgrel=0
pkgdesc="String buffers with value tags on extents"
url="https://metacpan.org/pod/String::Tagged::Terminal"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
checkdepends="perl-list-utilsby perl-module-pluggable"
makedepends="perl-convert-color perl-convert-color-xterm perl-module-build
	perl-string-tagged"
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="8a2c053b106b98b5eb145dab2aa1ac65123876b5074e35c3c1920a6d529e74a48e344a5ea330c636305a61543fcfad10d10acbb717b8784e9cfca7b67ce57bf3  String-Tagged-Terminal-0.05.tar.gz"