From 3d4ecf264869e752d7e46b27629ff84ed4026eb4 Mon Sep 17 00:00:00 2001 From: Andreas Schipplock Date: Mon, 5 Jun 2017 22:09:57 +0200 Subject: community/perl-config-properties: move from testing --- community/perl-config-properties/APKBUILD | 42 +++++++++++++++++++++++++++++++ testing/perl-config-properties/APKBUILD | 42 ------------------------------- 2 files changed, 42 insertions(+), 42 deletions(-) create mode 100644 community/perl-config-properties/APKBUILD delete mode 100644 testing/perl-config-properties/APKBUILD diff --git a/community/perl-config-properties/APKBUILD b/community/perl-config-properties/APKBUILD new file mode 100644 index 0000000000..c37b13d418 --- /dev/null +++ b/community/perl-config-properties/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Andreas Schipplock +# Maintainer: Andreas Schipplock +pkgname=perl-config-properties +_pkgreal=Config-Properties +pkgver=1.80 +pkgrel=0 +pkgdesc="Read and write property files" +url="http://search.cpan.org/dist/Config-Properties/" +arch="noarch" +license="GPL PerlArtistic" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + default_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 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +check() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make test +} + +sha512sums="2a3512aebeae2a95815dcd4cb84476919cf1aee5d5e8d93916d64ade3d49adc0720808487bba80664ccb978914b275f163cecbd5080075fd1f8f4d37697610bb Config-Properties-1.80.tar.gz" diff --git a/testing/perl-config-properties/APKBUILD b/testing/perl-config-properties/APKBUILD deleted file mode 100644 index c37b13d418..0000000000 --- a/testing/perl-config-properties/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Andreas Schipplock -# Maintainer: Andreas Schipplock -pkgname=perl-config-properties -_pkgreal=Config-Properties -pkgver=1.80 -pkgrel=0 -pkgdesc="Read and write property files" -url="http://search.cpan.org/dist/Config-Properties/" -arch="noarch" -license="GPL PerlArtistic" -makedepends="perl-dev" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/$_pkgreal-$pkgver.tar.gz" -builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - default_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 -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -check() { - cd "$builddir" - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make test -} - -sha512sums="2a3512aebeae2a95815dcd4cb84476919cf1aee5d5e8d93916d64ade3d49adc0720808487bba80664ccb978914b275f163cecbd5080075fd1f8f4d37697610bb Config-Properties-1.80.tar.gz" -- cgit v1.2.3