diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:57:14 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:57:14 -0300 |
commit | 046af8d3e2e603f55123e792d53794f2098549aa (patch) | |
tree | 4335f2c7200191c73cfc094f84a0e04f28d053bd /testing/perl-couchbase | |
parent | 519d7b3e1ebd95c1619b9ce5e98264c3a3eaa4ee (diff) | |
download | aports-046af8d3e2e603f55123e792d53794f2098549aa.tar.bz2 aports-046af8d3e2e603f55123e792d53794f2098549aa.tar.xz |
testing/perl-couchbase: fix url fix license
Diffstat (limited to 'testing/perl-couchbase')
-rw-r--r-- | testing/perl-couchbase/APKBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/testing/perl-couchbase/APKBUILD b/testing/perl-couchbase/APKBUILD index 6dc56c5cdb..09a2e73125 100644 --- a/testing/perl-couchbase/APKBUILD +++ b/testing/perl-couchbase/APKBUILD @@ -4,11 +4,11 @@ pkgname=perl-couchbase _pkgreal=Couchbase pkgver=2.0.3 -pkgrel=5 +pkgrel=6 pkgdesc="Couchbase Client Library" -url="http://search.cpan.org/dist/Couchbase/" +url="https://metacpan.org/release/Couchbase" arch="all" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-constant-generate perl-uri perl-class-xsaccessor perl-json-maybexs" cpanmakedepends="perl-log-fu perl-test-class perl-dir-self" depends="$cpandepends" @@ -18,25 +18,20 @@ source="http://search.cpan.org/CPAN/authors/id/M/MN/MNUNBERG/$_pkgreal-$pkgver.t builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |