diff options
Diffstat (limited to 'main/perl-data-page-pageset')
-rw-r--r-- | main/perl-data-page-pageset/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-data-page-pageset/APKBUILD b/main/perl-data-page-pageset/APKBUILD new file mode 100644 index 0000000000..32b3db8fb9 --- /dev/null +++ b/main/perl-data-page-pageset/APKBUILD @@ -0,0 +1,41 @@ +# 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=0 +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" +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" |