aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-business-issn
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-20 04:09:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-20 07:12:42 +0000
commit7f4e39a628def0e74485283e00ef46162e4b51c3 (patch)
treef49a4cba0f73ab9591f58cad5cbe3570e417305d /community/perl-business-issn
parent7d1e68b3eb516a178ebc51e4cfabbd1a8856b23b (diff)
downloadaports-7f4e39a628def0e74485283e00ef46162e4b51c3.tar.gz
aports-7f4e39a628def0e74485283e00ef46162e4b51c3.tar.bz2
aports-7f4e39a628def0e74485283e00ef46162e4b51c3.tar.xz
community/perl-business-issn: upgrade to 1.004
Diffstat (limited to 'community/perl-business-issn')
-rw-r--r--community/perl-business-issn/APKBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/community/perl-business-issn/APKBUILD b/community/perl-business-issn/APKBUILD
index 40e960a57b..f0081058c1 100644
--- a/community/perl-business-issn/APKBUILD
+++ b/community/perl-business-issn/APKBUILD
@@ -3,16 +3,14 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-business-issn
_pkgreal=${pkgname#perl-}
-pkgver=1.003
+pkgver=1.004
pkgrel=0
pkgdesc="Perl extension for International Standard Serial Numbers"
url="https://github.com/briandfoy/business-issn"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/briandfoy/$_pkgreal/archive/release-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-release-$pkgver"
@@ -20,26 +18,22 @@ builddir="$srcdir/$_pkgreal-release-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
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}')
make
}
check() {
- cd "$builddir"
- make test
+ make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="07e982dded1608956a534767c5604f9b9db8feb682d06bd199d52b77cf1266d3c577cb41d473e708da357bdec67401d5648a136b6b88ae6972c2149ec9292d02 perl-business-issn-1.003.tar.gz"
+sha512sums="5a6541605044ff71698b77c46c3f3e515a4f86f8fd2f398b555040cfc8b7dfa89353d6617d21f8d42e7067a03d72b1deeb455f31247e171e55c9a150b0f83ad0 perl-business-issn-1.004.tar.gz"