aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-gtk2/APKBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/testing/perl-gtk2/APKBUILD b/testing/perl-gtk2/APKBUILD
index 8617712d2b..4884068216 100644
--- a/testing/perl-gtk2/APKBUILD
+++ b/testing/perl-gtk2/APKBUILD
@@ -3,31 +3,32 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-gtk2
_pkgreal=Gtk2
-pkgver=1.24992
-pkgrel=1
+pkgver=1.24993
+pkgrel=0
pkgdesc="Perl module for Gtk2"
-url="http://search.cpan.org/dist/Gtk2/"
+url="https://metacpan.org/release/Gtk2"
arch="all"
-license="GPL PerlArtistic"
-cpandepends=""
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-extutils-depends perl-extutils-pkgconfig perl-glib perl-pango"
-depends="$cpandepends"
+depends="perl"
makedepends="perl-dev gtk+2.0-dev glib-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Gtk2-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gtk2-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make #&& make test
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="a3d0ac22ce0f356f1a73c6b7d27161f76573b64cfde54e76d751ce8318eda9410e57d905e03b2562b8d31b80d3dba2bd4a8a7980a331bd5ca0c6f75e61e4e6f7 Gtk2-1.24992.tar.gz"
+sha512sums="320b10803394b196e0833ab998b854c7e184d6f291657c732a1fddb0c049d01ef192c73e6a095a87b18ff8cb9ac846fcb3682a2dd0c9c86076342e3ca7e55eb5 Gtk2-1.24993.tar.gz"