diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-03-07 10:17:27 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-03-07 10:45:20 +0000 |
commit | d0a8523263c9515c58198105b5bd0ab6171ecc32 (patch) | |
tree | 50b304768fb82a59f70d366c6f53d8437a241068 /main | |
parent | 1479938ba58384db0e120c178a000b12a876e36a (diff) | |
download | aports-d0a8523263c9515c58198105b5bd0ab6171ecc32.tar.bz2 aports-d0a8523263c9515c58198105b5bd0ab6171ecc32.tar.xz |
main/perl-data-page-pageset: new aport
Diffstat (limited to 'main')
-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" |