aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-dbd-pg/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-26 18:31:19 -0300
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-08-28 10:14:10 +0000
commitf4882b3d21e6bdab343ab0d204077f1a4f7c192f (patch)
treea675bf2e80c0fa048299c300da17bf2c51a489c1 /main/perl-dbd-pg/APKBUILD
parent33f976839ed6dfe61aba2352b5544b7bd09ee345 (diff)
downloadaports-f4882b3d21e6bdab343ab0d204077f1a4f7c192f.tar.bz2
aports-f4882b3d21e6bdab343ab0d204077f1a4f7c192f.tar.xz
main/perl-dbd-pg: upgrade to 3.9.1
Diffstat (limited to 'main/perl-dbd-pg/APKBUILD')
-rw-r--r--main/perl-dbd-pg/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/main/perl-dbd-pg/APKBUILD b/main/perl-dbd-pg/APKBUILD
index c0dadc9440..b9d21d14a9 100644
--- a/main/perl-dbd-pg/APKBUILD
+++ b/main/perl-dbd-pg/APKBUILD
@@ -3,24 +3,21 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-dbd-pg
_pkgreal=DBD-Pg
-pkgver=3.8.0
+pkgver=3.9.1
pkgrel=0
pkgdesc="DBI PostgreSQL interface"
-url="http://search.cpan.org/dist/DBD-Pg/"
+url="https://metacpan.org/release/DBD-Pg"
arch="all"
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-dbi"
-cpanmakedepends="perl-dbi"
-cpancheckdepends=""
depends="$cpandepends"
-makedepends="perl-dev postgresql-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+makedepends="perl-dev postgresql-dev"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
@@ -35,7 +32,7 @@ build() {
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
@@ -45,4 +42,4 @@ check() {
make test
}
-sha512sums="183404721630074a7c3c5c68e7805cbed6566e51fd92fba4c73a0ca5961f45e791cffa086fc2d465b9b31c6f45f2416397b35f49f33fe852179a583cc18b1fce DBD-Pg-3.8.0.tar.gz"
+sha512sums="ef322012d25c46784ef9e25eb332f2fe57c6bc2102a7e7cf2f423ae6d77ec78d338e91f08734a932f46a0bc028e358a6cf84b6b41b5f9723905b240db24582f0 DBD-Pg-3.9.1.tar.gz"