blob: d6025a0c925c46bd928eed728277ba1a750d3d41 (
plain)
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
|
# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
pkgname=perl-regexp-pattern-defhash
pkgver=0.001
pkgrel=1
pkgdesc="Regexp patterns related to DefHash"
arch=('any')
url="https://github.com/perlancar/perl-Regexp-Pattern-DefHash"
license=('GPL' 'PerlArtistic')
depends=('perl')
source=("https://www.cpan.org/modules/by-module/Regexp/Regexp-Pattern-DefHash-${pkgver}.tar.gz")
sha512sums=('d1dc846b1c44cfc2c0d7b1e23ac8ba2b9958f2827d777890f429758570f6418eb003a9b708b733a74acea568cf08a66388800f1a950eb5b579dc3dbcad7b5593')
build() {
cd "${srcdir}/Regexp-Pattern-DefHash-${pkgver}"
perl Makefile.PL NO_PACKLIST=true NO_PERLLOCAL=true
make
}
check() {
cd "${srcdir}/Regexp-Pattern-DefHash-${pkgver}"
make test
}
package() {
cd "${srcdir}/Regexp-Pattern-DefHash-${pkgver}"
make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
}
|