diff options
Diffstat (limited to 'main/perl-data-guid')
-rw-r--r-- | main/perl-data-guid/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-data-guid/APKBUILD b/main/perl-data-guid/APKBUILD new file mode 100644 index 0000000000..8f450f8e8d --- /dev/null +++ b/main/perl-data-guid/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perl-data-guid +_pkgreal=Data-GUID +pkgver=0.048 +pkgrel=0 +pkgdesc="globally unique identifiers" +url="http://search.cpan.org/dist/Data-GUID/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-sub-install perl-sub-exporter perl-data-uuid" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_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="8709af7609214edcad1ec99ecd62f048 Data-GUID-0.048.tar.gz" +sha256sums="cb263b1e6eeecc5797de6f945d42ace2db26c156172883550b73fa2ecdab29dc Data-GUID-0.048.tar.gz" +sha512sums="42c0472f3614d342440c41aa009e906cd2874c7578cf1a197711a22ff2c02227cec84ee6e497b64e8f52843a371d10a09732c713c58a6d189aba399916581cd3 Data-GUID-0.048.tar.gz" |