aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-text-vfile-asdata/APKBUILD
blob: 67cae6830d4eff8a0902b3705375197d7d207594 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                      
           
        
                                                          
                                                     






                                         
                                                                                  


















                                                                           
                                                                                                                                                                            
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-text-vfile-asdata
_pkgreal=Text-vFile-asData
pkgver=0.08
pkgrel=2
pkgdesc="parse vFile formatted files into data structures"
url="https://metacpan.org/release/Text-vFile-asData/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-class-accessor-chained"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$_builddir"
	make && make test
}

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

sha512sums="04ec51061a7dc1c19d00edfcb3740deae7c70372e8d5eba868e2e62326f0084fbb3f8237f7cffaf1a5d2f49a5ceac7dcc7ea391e1effe78923b6b0e523b2728b  Text-vFile-asData-0.08.tar.gz"