aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Frankenberger <simon@fraho.eu>2018-12-27 22:19:22 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-02-06 14:24:49 +0000
commitd11edbdbe9bf151843f90611dd3cba6c911cf812 (patch)
treef6367dc7d4cd3f488e5eb20dfd26313e676bf4c4
parent82dd475e0ce6063d31cfa24ed95cad0b20f40caa (diff)
downloadaports-d11edbdbe9bf151843f90611dd3cba6c911cf812.tar.gz
aports-d11edbdbe9bf151843f90611dd3cba6c911cf812.tar.bz2
aports-d11edbdbe9bf151843f90611dd3cba6c911cf812.tar.xz
main/perl-dbix-dbschema: Update to 0.45
-rw-r--r--main/perl-dbix-dbschema/APKBUILD29
1 files changed, 12 insertions, 17 deletions
diff --git a/main/perl-dbix-dbschema/APKBUILD b/main/perl-dbix-dbschema/APKBUILD
index ca55d97eb9..362339f451 100644
--- a/main/perl-dbix-dbschema/APKBUILD
+++ b/main/perl-dbix-dbschema/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-dbix-dbschema
-pkgver=0.39
+pkgver=0.45
pkgrel=0
pkgdesc="DBIx::DBSchema perl module"
url="http://search.cpan.org/dist/DBIx-DBSchema/"
@@ -12,28 +12,23 @@ makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/I/IV/IVAN/DBIx-DBSchema-$pkgver.tar.gz"
+builddir="$srcdir"/DBIx-DBSchema-$pkgver
-_builddir="$srcdir"/DBIx-DBSchema-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
}
-build() {
- cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+check() {
+ cd "$builddir"
+ make test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="67ed69d12a74edf90960ea35b5189730dc5ab8c719649fb7b0074e373811bf13cd4bd48f0961f507497862558cbe804c862d088f41e9dc90eabc4e24a91582ee DBIx-DBSchema-0.39.tar.gz"
+sha512sums="808d83898b1265b6dcdd5e9727fb0fed50935dba893cae40ead5d0d344edcf6f342a3ed2e7ad63efbb94e0cc07c0615153c29d14132c13ac9b071d77a9069770 DBIx-DBSchema-0.45.tar.gz"