summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilo Brueckner2021-04-11 14:14:12 +0200
committerTilo Brueckner2021-04-11 14:14:12 +0200
commita21a5062078caa601ad8af032f426eeacefca524 (patch)
tree3e56b761e5632aadecdc608c17e984b398da2f57
downloadaur-perl-regexp-trie.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD49
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7ca4469ecaf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by makepkg 5.2.2
+# Sun Apr 11 12:13:33 UTC 2021
+pkgbase = perl-regexp-trie
+ pkgdesc = builds trie-ized regexp
+ pkgver = 0.02
+ pkgrel = 1
+ url = https://metacpan.org/release/Regexp-Trie
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ depends = perl>=0
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Regexp-Trie-0.02.tar.gz
+ md5sums = 6e3ecf25c359bce39f0acf261571e558
+ sha512sums = 49aac4f9d49f71a2cf7111e549da0f3dfa77679d313080095188e8172e5fea0fdb256b8d784949716813d51c03fe9fdfe097e394bba34016fa61bd82c4c20995
+
+pkgname = perl-regexp-trie
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..be2cc34a75d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Contributor: BluePeril <blueperil@blueperil.de>
+# Generator : CPANPLUS::Dist::Arch 1.32
+
+pkgname='perl-regexp-trie'
+pkgver='0.02'
+pkgrel='1'
+pkgdesc="builds trie-ized regexp"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl>=0')
+makedepends=()
+url='https://metacpan.org/release/Regexp-Trie'
+source=("http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Regexp-Trie-${pkgver}.tar.gz")
+md5sums=('6e3ecf25c359bce39f0acf261571e558')
+sha512sums=('49aac4f9d49f71a2cf7111e549da0f3dfa77679d313080095188e8172e5fea0fdb256b8d784949716813d51c03fe9fdfe097e394bba34016fa61bd82c4c20995')
+_distdir="Regexp-Trie-${pkgver}"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$_distdir"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: