1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00

testing/perl-dbix-datasource: fix url fix license

This commit is contained in:
Leo 2019-06-28 00:55:56 -03:00
parent 8f8708be81
commit 429ae3d273

View file

@ -4,15 +4,14 @@
pkgname=perl-dbix-datasource
_pkgreal=DBIx-DataSource
pkgver=0.02
pkgrel=1
pkgrel=2
pkgdesc="Database-independant create and drop functions"
url="http://search.cpan.org/dist/DBIx-DataSource/"
url="https://metacpan.org/release/DBIx-DataSource"
arch="noarch"
license="GPL PerlArtistic"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-dbi"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/I/IV/IVAN/$_pkgreal-$pkgver.tar.gz"
@ -21,22 +20,18 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}