blob: a3dd0f232b241ca03d411c4606c5a4fe0e46b358 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-string-copyright
_pkgreal=String-Copyright
_author=JONASS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.003013
pkgrel=0
pkgdesc="Perl module for normalizing copyright text"
url="https://metacpan.org/pod/String::Copyright"
arch="noarch"
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/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="c7e585d53cfeed5f45b471adfb1f36975e6cac8f43b27664a72cc95d27e779bf1e4e796e0237f2ff997f47fb34f71d4e65dc27ba9da44e00315270f0ecf9ae54 String-Copyright-0.003013.tar.gz"
|