aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-28 01:19:45 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-28 01:19:45 -0300
commitb54bc3cd71439ca6d3b54c75e709ef6820a47bf9 (patch)
tree5ebb5b0ea203abd1e357c85f48bcf6833cce90e8 /testing
parent002af6c7c787d954be5f571548500a9188ff103d (diff)
downloadaports-b54bc3cd71439ca6d3b54c75e709ef6820a47bf9.tar.gz
aports-b54bc3cd71439ca6d3b54c75e709ef6820a47bf9.tar.bz2
aports-b54bc3cd71439ca6d3b54c75e709ef6820a47bf9.tar.xz
testing/perl-email-reply: fix url fix license
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-email-reply/APKBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/testing/perl-email-reply/APKBUILD b/testing/perl-email-reply/APKBUILD
index f1aba62793..f8fe318bbc 100644
--- a/testing/perl-email-reply/APKBUILD
+++ b/testing/perl-email-reply/APKBUILD
@@ -4,35 +4,31 @@
pkgname=perl-email-reply
_pkgreal=Email-Reply
pkgver=1.204
-pkgrel=0
+pkgrel=1
pkgdesc="Reply to a Message"
-url="http://search.cpan.org/dist/Email-Reply/"
+url="https://metacpan.org/release/Email-Reply"
arch="noarch"
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-email-abstract perl-email-mime perl-email-address"
-cpanmakedepends=" "
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+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 && make test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}