aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-cairo
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-27 23:06:11 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-27 23:06:11 -0300
commit253071c4dcd65005e9c40e7658963601615176e4 (patch)
treeba85f7c51b65a4540ba5f129b8e175309f8bf2d5 /testing/perl-cairo
parent38431a72fae3c1e144ea313db405a36050ab0b44 (diff)
downloadaports-253071c4dcd65005e9c40e7658963601615176e4.tar.bz2
aports-253071c4dcd65005e9c40e7658963601615176e4.tar.xz
testing/perl-cairo: fix url fix license
Diffstat (limited to 'testing/perl-cairo')
-rw-r--r--testing/perl-cairo/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/testing/perl-cairo/APKBUILD b/testing/perl-cairo/APKBUILD
index fedb2d6c1d..a956072de8 100644
--- a/testing/perl-cairo/APKBUILD
+++ b/testing/perl-cairo/APKBUILD
@@ -4,14 +4,12 @@
pkgname=perl-cairo
_pkgreal=Cairo
pkgver=1.106
-pkgrel=4
+pkgrel=5
pkgdesc="Perl module for Cairo"
-url="http://search.cpan.org/dist/Cairo/"
+url="https://metacpan.org/release/Cairo"
arch="all"
-license="GPL PerlArtistic"
-cpandepends=""
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-extutils-depends perl-extutils-pkgconfig"
-depends="$cpandepends"
makedepends="perl-dev cairo-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Cairo-$pkgver.tar.gz"
@@ -19,7 +17,6 @@ source="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Cairo-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor
else
@@ -28,18 +25,15 @@ prepare() {
}
build() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}