summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 19:16:47 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 19:16:47 +0000
commitc815c850cfd211238b3ec1466adbdbf8814236f2 (patch)
tree16222ff16e3c5d24954f9f4dd388ef00fb01b4f3
parent32157de3e3cf994a898aaeb9208a839feeda3e46 (diff)
downloadpackages-c815c850cfd211238b3ec1466adbdbf8814236f2.tar.gz
packages-c815c850cfd211238b3ec1466adbdbf8814236f2.tar.bz2
packages-c815c850cfd211238b3ec1466adbdbf8814236f2.tar.xz
packages-c815c850cfd211238b3ec1466adbdbf8814236f2.zip
user/perl-text-glob: new package
-rw-r--r--user/perl-text-glob/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-text-glob/APKBUILD b/user/perl-text-glob/APKBUILD
new file mode 100644
index 000000000..85bbc7a9b
--- /dev/null
+++ b/user/perl-text-glob/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-text-glob
+pkgver=0.11
+pkgrel=0
+pkgdesc="glob(3) style string matching for Perl"
+url="https://metacpan.org/release/Text-Glob"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/Text-Glob-$pkgver.tar.gz"
+builddir="$srcdir/Text-Glob-$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="20322fee3f56ee7e65f0f8e5371d9dbbe89895d8b9c9207486e7934e29bd883fb557c9765e406f85f56b67019293d82a0318ded83a9387b164cb5e8f58bef0cb Text-Glob-0.11.tar.gz"