aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-data-page-pageset/APKBUILD
blob: 6f088d5c45fd9d027515d2bf6682035d1e811e50 (plain) (tree)
1
2
3
4
5
6
7





                                                      
        






                                                                    
                                                         

























                                                                                                                                                                            
# Automatically generated by apkbuild-cpan, template 1
# Contributor: 
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-data-page-pageset
_pkgreal=Data-Page-Pageset
pkgver=1.02
pkgrel=1
pkgdesc="change long page list to be shorter and well navigate"
url="http://search.cpan.org/dist/Data-Page-Pageset/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-data-page perl-test-exception perl-class-accessor"
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/C/CH/CHUNZI/$_pkgreal-$pkgver.tar.gz"

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

prepare() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	perl Build.PL installdirs=vendor || return 1
}

build() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	./Build && ./Build test
}

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

md5sums="859bb3abdfa710ef38b1140274eae051  Data-Page-Pageset-1.02.tar.gz"
sha256sums="ceac1bb5543e23dab2519513c626e3ffe65a177b8e1ed9e56a030d4551d45190  Data-Page-Pageset-1.02.tar.gz"
sha512sums="d6676511e6b9cb0c110d6f535120e04f110e53a18bf9ce65e6f346d616d9020cea6f7d9514e264fee0220ef100a1bce2e863d276fbaaa113ba8f920cf5bd2610  Data-Page-Pageset-1.02.tar.gz"