aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-common-sense
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-27 21:59:45 -0300
committerShiz <hi@shiz.me>2019-05-28 03:43:37 +0200
commit137bb8801b6e135c9d031101e5572aa12660cf1f (patch)
tree32831f55d73366f57f2466ff40b070be32ab7050 /community/perl-common-sense
parentb911ba3c98d2f11988cc6fbb658c152ab94d71e0 (diff)
downloadaports-137bb8801b6e135c9d031101e5572aa12660cf1f.tar.bz2
aports-137bb8801b6e135c9d031101e5572aa12660cf1f.tar.xz
community/perl-common-sense: modernize, fix file conflict
Diffstat (limited to 'community/perl-common-sense')
-rw-r--r--community/perl-common-sense/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/community/perl-common-sense/APKBUILD b/community/perl-common-sense/APKBUILD
index d971731f98..4197bd0909 100644
--- a/community/perl-common-sense/APKBUILD
+++ b/community/perl-common-sense/APKBUILD
@@ -4,11 +4,11 @@
pkgname=perl-common-sense
_pkgreal=common-sense
pkgver=3.74
-pkgrel=0
+pkgrel=1
pkgdesc="Implementation of sane defaults for Perl programs"
url="https://metacpan.org/release/common-sense"
arch="noarch"
-license="GPL-1.0-or-later Artistic-1.0-Perl"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz"
@@ -16,18 +16,16 @@ source="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgve
builddir="$srcdir"/$_pkgreal-$pkgver
build() {
- cd "$builddir"
perl Makefile.PL INSTALLDIRS=vendor
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="658ad70a2d1bbd0b26f91c4ea5d69b4cc0b632ede9532b88282987002a5e280f0475d63ee846b7bd2d38ef82f2680e20c2093803e4b62a984750ed447f318d60 common-sense-3.74.tar.gz"