aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/perl-glib/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/community/perl-glib/APKBUILD b/community/perl-glib/APKBUILD
index 06ead35a93..096b4b0732 100644
--- a/community/perl-glib/APKBUILD
+++ b/community/perl-glib/APKBUILD
@@ -3,37 +3,33 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-glib
_pkgreal=Glib
-pkgver=1.329
-pkgrel=1
+pkgver=1.3291
+pkgrel=0
pkgdesc="Perl module for Glib"
-url="http://search.cpan.org/dist/Glib/"
+url="https://metacpan.org/release/Glib"
arch="all"
-license="GPL PerlArtistic"
-cpandepends=""
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-extutils-depends perl-extutils-pkgconfig"
-depends="$cpandepends"
+depends="perl"
makedepends="perl-dev glib-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Glib-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="32418fe07b3162253bc29f3b7e9273067c1ac03d7f85ac1019401a28247db6901c25e1bcea6c024f377a89816f2dbdc2a1a70623981f4777f0f42ba48bb6305a Glib-1.329.tar.gz"
+sha512sums="5c596e29c3e2ef72908668ddf1f260cf217b64d73732e90ef0fdef007f98b29efcd0620f01e0a39b5f2a0b368d4a05926543c9db0593bfa5a027e86af95fddba Glib-1.3291.tar.gz"