aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-sub-exporter-progressive/APKBUILD
blob: 27a1593f71f0a7a7a65c7cd4c237dbfbe8f1b434 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                      

                                                           

                                     
               





                                                           
                                   


                                       
                                                                                  




















                                                                           


                                                                                                                                                                                       
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-sub-exporter-progressive
_pkgreal=Sub-Exporter-Progressive
pkgver=0.001013
pkgrel=0
pkgdesc="Only use Sub::Exporter if you need it"
url="http://search.cpan.org/dist/Sub-Exporter-Progressive/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-sub-exporter"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/F/FR/FREW/$_pkgreal-$pkgver.tar.gz"

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

prepare() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

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

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

md5sums="72cf6acdd2a0a8b105821a4db98e4ebe  Sub-Exporter-Progressive-0.001013.tar.gz"
sha256sums="d535b7954d64da1ac1305b1fadf98202769e3599376854b2ced90c382beac056  Sub-Exporter-Progressive-0.001013.tar.gz"
sha512sums="28d0ac6a380a4fc1515bd69320bcfd073c0c0e92ea34bb924972aa46fb2f6912485d686f0eca5d5b885d8b06927250dfaacd1a7ff86ba029f879a183cba546c4  Sub-Exporter-Progressive-0.001013.tar.gz"