APKBUILD 1.02 KB
Newer Older
1
# Contributor: Sheila Aman <sheila@vulpine.house>
2
3
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-data-section
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
4
5
6
7
_pkgreal=Data-Section
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
8
9
10
11
12
13
14
pkgver=0.200007
pkgrel=0
pkgdesc="Perl module for reading inline data in chunks"
url="https://metacpan.org/pod/Data::Section"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl perl-mro-compat perl-sub-exporter perl-test-failwarnings"
15
makedepends="perl-dev"
16
subpackages="$pkgname-doc"
Síle Ekaterin Aman's avatar
Síle Ekaterin Aman committed
17
18
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

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="0c23141ccc2041e8c1c222c95d6eab4b56e2d77a94c68507f67acbb62fa5132e9229e9680c9fff6ebbc6a47a42cf1943d6e5b50a5f0168c66193fb52aaa241f0  Data-Section-0.200007.tar.gz"