summaryrefslogtreecommitdiff
path: root/user/perl-string-copyright
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-string-copyright')
-rw-r--r--user/perl-string-copyright/APKBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/user/perl-string-copyright/APKBUILD b/user/perl-string-copyright/APKBUILD
index 518c486b2..be14689aa 100644
--- a/user/perl-string-copyright/APKBUILD
+++ b/user/perl-string-copyright/APKBUILD
@@ -1,33 +1,35 @@
-# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-string-copyright
-pkgver=0.003006
+_pkgreal=String-Copyright
+_author=JONASS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.003014
pkgrel=0
pkgdesc="Perl module for normalizing copyright text"
url="https://metacpan.org/pod/String::Copyright"
arch="noarch"
-license="GPL-3.0+"
-depends="perl perl-exporter-tiny perl-number-range"
-makedepends=""
+license="AGPL-3.0+"
+depends="perl perl-exporter-tiny perl-set-intspan"
+checkdepends="perl-test-without-module perl-test2-suite"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/J/JO/JONASS/String-Copyright-$pkgver.tar.gz"
-builddir="$srcdir/String-Copyright-$pkgver"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="7852d96cbe465dde14b4c093f77374b530967412ef95a98703fe838511e405ea9744e4dbfa314bc5a33fc23b160d8a4866654ad60da1bfb07853263f1c11cd3f String-Copyright-0.003006.tar.gz"
+sha512sums="39874b267fcd01e6ffbcdae15af74918fddcb586c2f0708ba30b47957a4e6613689776b9e80a649689374a913b2c6c285ed58823620b6553cd56d6d99e632f08 String-Copyright-0.003014.tar.gz"