aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-28 18:21:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-28 18:37:25 -0300
commitafc959df03688ac9727424e2ea2af76071f5268c (patch)
treed9cf85f54795a2fa77d7f5f5e2bb655de25b67bf
parent2770a7b6c8c62c931dceea1d5d3aa5fa0f4c2353 (diff)
downloadaports-afc959df03688ac9727424e2ea2af76071f5268c.tar.bz2
aports-afc959df03688ac9727424e2ea2af76071f5268c.tar.xz
testing/perl-gtk2: upgrade to 1.24993
-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"