diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-03-07 10:16:28 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-03-07 10:45:20 +0000 |
commit | 1479938ba58384db0e120c178a000b12a876e36a (patch) | |
tree | 3dcb8b3522b7c4353a5eba330892b46a44e27748 | |
parent | c63545edb3840f15ef8dabed60f7495334615022 (diff) | |
download | aports-1479938ba58384db0e120c178a000b12a876e36a.tar.bz2 aports-1479938ba58384db0e120c178a000b12a876e36a.tar.xz |
main/perl-data-page: new aport
-rw-r--r-- | main/perl-data-page/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-data-page/APKBUILD b/main/perl-data-page/APKBUILD new file mode 100644 index 0000000000..a52b44900d --- /dev/null +++ b/main/perl-data-page/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perl-data-page +_pkgreal=Data-Page +pkgver=2.02 +pkgrel=0 +pkgdesc="help when paging through sets of results" +url="http://search.cpan.org/dist/Data-Page/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-class-accessor-chained perl-test-exception" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/$_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="57f9aed8a79687a2712adf7bf2f9cc4d Data-Page-2.02.tar.gz" +sha256sums="a414bd2e6f9ba8982017b3fbeaa460da8fbadee1cf5ec37c7e560948984871c3 Data-Page-2.02.tar.gz" +sha512sums="22b5b8b80672bfd20a1552ee9d41e5150262eb37be6d903d67465be472d1802668ac898b9172b76fe2747f25ff9ad2025257b215f763f2ba5793abb46eb2343f Data-Page-2.02.tar.gz" |