From a016c81857fc12b42219b028363eccfe359a28dd Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 26 Aug 2016 14:37:55 +0000 Subject: community/perl-provide: moved from unmaintained --- community/perl-provide/APKBUILD | 40 +++++++++++++++++++++++++++++++++++++ unmaintained/perl-provide/APKBUILD | 41 -------------------------------------- 2 files changed, 40 insertions(+), 41 deletions(-) create mode 100644 community/perl-provide/APKBUILD delete mode 100644 unmaintained/perl-provide/APKBUILD diff --git a/community/perl-provide/APKBUILD b/community/perl-provide/APKBUILD new file mode 100644 index 0000000000..03be8cce58 --- /dev/null +++ b/community/perl-provide/APKBUILD @@ -0,0 +1,40 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Maintainer: Francesco Colista +pkgname=perl-provide +_pkgreal=provide +pkgver=0.03 +pkgrel=0 +pkgdesc="easily choose between different version-specific implementations" +url="http://search.cpan.org/dist/provide/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/B/BE/BELDEN/$_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="213587bbc758179d39c40285d83fe575 provide-0.03.tar.gz" +sha256sums="565c8a5e4b09e6724bf8a2df33a4364e98c05dd7d2835821457a2f787cfe2446 provide-0.03.tar.gz" +sha512sums="d16762c4c2ecc69619904d9eb81cbc75dc253f85bf2c52ec17d08b3fa64ebf1897521e9d60cb541884e9ccf0fe0b51420eb57d4b09daabeda29ea00d8a90f6f1 provide-0.03.tar.gz" diff --git a/unmaintained/perl-provide/APKBUILD b/unmaintained/perl-provide/APKBUILD deleted file mode 100644 index 6dc7465082..0000000000 --- a/unmaintained/perl-provide/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-provide -_pkgreal=provide -pkgver=0.03 -pkgrel=0 -pkgdesc="easily choose between different version-specific implementations" -url="http://search.cpan.org/dist/provide/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/B/BE/BELDEN/$_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="213587bbc758179d39c40285d83fe575 provide-0.03.tar.gz" -sha256sums="565c8a5e4b09e6724bf8a2df33a4364e98c05dd7d2835821457a2f787cfe2446 provide-0.03.tar.gz" -sha512sums="d16762c4c2ecc69619904d9eb81cbc75dc253f85bf2c52ec17d08b3fa64ebf1897521e9d60cb541884e9ccf0fe0b51420eb57d4b09daabeda29ea00d8a90f6f1 provide-0.03.tar.gz" -- cgit v1.2.3