aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-text-reform/APKBUILD
blob: 606346debf2bea3720f2ccafb28efcb5e14754fb (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-text-reform
pkgver=1.20
pkgrel=2
pkgdesc="Text::Reform perl module"
url="https://metacpan.org/release/Text-Reform"
arch="noarch"
license="GPL-1.0-or-later or Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/C/CH/CHORNY/Text-Reform-$pkgver.tar.gz"

builddir="$srcdir"/Text-Reform-$pkgver

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="2a8901c59dcee91d479735c243ee563da69dbbc340ba5573dc0d6be62cf7b485cea2e90301eb8b529bd8b39a1fc09597381680c4882c17462613321a80f2a110  Text-Reform-1.20.tar.gz"