From 781c9752989847ae45ca98646e7436ebcf40067f Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Tue, 13 Sep 2016 14:29:14 +0000 Subject: community/perl-glib: moved from testing, upgrade to 1.322 --- community/perl-glib/APKBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++++ testing/perl-glib/APKBUILD | 45 -------------------------------------------- 2 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 community/perl-glib/APKBUILD delete mode 100644 testing/perl-glib/APKBUILD diff --git a/community/perl-glib/APKBUILD b/community/perl-glib/APKBUILD new file mode 100644 index 0000000000..95ea22f5fa --- /dev/null +++ b/community/perl-glib/APKBUILD @@ -0,0 +1,45 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=perl-glib +_pkgreal=Glib +pkgver=1.322 +pkgrel=0 +pkgdesc="Perl module for Glib" +url="http://search.cpan.org/dist/Glib/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="perl-extutils-depends perl-extutils-pkgconfig" +depends="$cpandepends" +makedepends="perl-dev glib-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Glib-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + if [ -e Build.PL ]; then + perl Build.PL installdirs=vendor || return 1 + else + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + fi +} + +build() { + cd "$_builddir" + make && make test +} + + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + + +md5sums="ae89dfb4a0ef2a611933aadce978e823 Glib-1.322.tar.gz" +sha256sums="487c4b0894a8036ff69385526a749ca78e3f92252b0491d9dacc7c0266f02e96 Glib-1.322.tar.gz" +sha512sums="13fd21be640caea2d2d37e2cf494b4defcd558f4afff80d8f0848616554830df9fd9885731c2514c24be2e89d5b7b604a5c6e63576e605c0271dba60516705d2 Glib-1.322.tar.gz" diff --git a/testing/perl-glib/APKBUILD b/testing/perl-glib/APKBUILD deleted file mode 100644 index 93b3d8a160..0000000000 --- a/testing/perl-glib/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-glib -_pkgreal=Glib -pkgver=1.321 -pkgrel=1 -pkgdesc="Perl module for Glib" -url="http://search.cpan.org/dist/Glib/" -arch="all" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-extutils-depends perl-extutils-pkgconfig" -depends="$cpandepends" -makedepends="perl-dev glib-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Glib-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - if [ -e Build.PL ]; then - perl Build.PL installdirs=vendor || return 1 - else - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - fi -} - -build() { - cd "$_builddir" - make && make test -} - - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - - -md5sums="a3b09b64dd838dc22c53270aa79b851a Glib-1.321.tar.gz" -sha256sums="b975ebe2da241fc4bb9981b36a5d661b455d3598b3d8b254cb3538d673778c40 Glib-1.321.tar.gz" -sha512sums="347edcbc41dd067808404c192fb8be83da4ce9b8b69cdac2b6dbe8cb5b4d2961e74163eaff5a002356a4cbd984251e20c0fe3f16df123069175ab08ec83fc5e8 Glib-1.321.tar.gz" -- cgit v1.2.3