summaryrefslogtreecommitdiff
path: root/user/perl-regexp-common/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-10-04 17:51:29 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-10-04 17:51:29 +0000
commit615ba2b4aa4fe28c5fd6357f4b97ed48b9b52e5e (patch)
treea45eebcd407777c4b1dbba873ac343b42d2ff13c /user/perl-regexp-common/APKBUILD
parent92393a6f0b3dae968cde38a6b686e2304c4f8d10 (diff)
parent8c4e808ec735d7e5f8b71ac33c0a540223729bf8 (diff)
downloadpackages-615ba2b4aa4fe28c5fd6357f4b97ed48b9b52e5e.tar.gz
packages-615ba2b4aa4fe28c5fd6357f4b97ed48b9b52e5e.tar.bz2
packages-615ba2b4aa4fe28c5fd6357f4b97ed48b9b52e5e.tar.xz
packages-615ba2b4aa4fe28c5fd6357f4b97ed48b9b52e5e.zip
Merge branch 'new.cloc' into 'master'
Package `cloc` See merge request adelie/packages!348
Diffstat (limited to 'user/perl-regexp-common/APKBUILD')
-rw-r--r--user/perl-regexp-common/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/perl-regexp-common/APKBUILD b/user/perl-regexp-common/APKBUILD
new file mode 100644
index 000000000..91cff6808
--- /dev/null
+++ b/user/perl-regexp-common/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Adelie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-regexp-common
+_pkgname=Regexp-Common
+pkgver=2017060201
+pkgrel=0
+pkgdesc="Perl library for common regular expression utilities"
+url="https://metacpan.org/pod/Regexp::Common"
+arch="noarch"
+license="Artistic-1.0-Perl OR Artistic-2.0 OR BSD-3-Clause OR MIT"
+depends="perl"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-$pkgver.tar.gz"
+builddir="$srcdir/Regexp-Common-$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="fd046d775214bdca42f868557559595360b069121a75fc119f45e064091000968d9d84154f8a0f06072ecff169dccecf68be58f99a7196932fcb4ffcbd678608 Regexp-Common-2017060201.tar.gz"