blob: 7192765afb04da9a317d2907d01f5136236ee587 (
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
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-regexp-pattern-license
pkgver=3.1.94
pkgrel=0
pkgdesc="Perl module for regex-matching legal licenses"
url="https://metacpan.org/pod/Regexp::Pattern::License"
arch="noarch"
license="GPL-3.0+"
depends="perl perl-regexp-pattern perl-strictures perl-try-tiny"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/J/JO/JONASS/Regexp-Pattern-License-v$pkgver.tar.gz"
builddir="$srcdir/Regexp-Pattern-License-v$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="0111b27733a84b0d1aa64310a2b48072f4e9840f46a5d1937a6379e4c3b22396c09e947f451fea9202d4f912d95d2cc259d1f70fcfa00c263cf88bc344227bb8 Regexp-Pattern-License-v3.1.94.tar.gz"
|