summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn D Jones III2015-06-16 15:02:12 -0600
committerJohn D Jones III2015-06-16 15:02:12 -0600
commit8a2880bd0be7fd1c64d512d1e9b8e3af8c5cf7d6 (patch)
tree4b6eaf4a1941f402d41cff68b106373aeac93746
downloadaur-8a2880bd0be7fd1c64d512d1e9b8e3af8c5cf7d6.tar.gz
Initial import
-rw-r--r--.AURINFO15
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD51
3 files changed, 83 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..c8aea4504a3
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,15 @@
+pkgbase = perl-hash-util-fieldhash-compat
+ pkgdesc = Use Hash::Util::FieldHash or ties, depending on availability
+ pkgver = 0.07
+ pkgrel = 1
+ url = http://search.mcpan.org/dist/Hash-Util-FieldHash-Compat
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ checkdepends = perl-test-use-ok
+ depends = perl
+ source = http://search.mcpan.org/CPAN/authors/id/E/ET/ETHER/Hash-Util-FieldHash-Compat-0.07.tar.gz
+ options = !emptydirs
+
+pkgname = perl-hash-util-fieldhash-compat
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ec7e693ae7e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = perl-hash-util-fieldhash-compat
+ pkgdesc = Use Hash::Util::FieldHash or ties, depending on availability
+ pkgver = 0.07
+ pkgrel = 1
+ url = http://search.mcpan.org/dist/Hash-Util-FieldHash-Compat
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ checkdepends = perl-test-use-ok
+ depends = perl
+ options = !emptydirs
+ source = http://search.mcpan.org/CPAN/authors/id/E/ET/ETHER/Hash-Util-FieldHash-Compat-0.07.tar.gz
+ md5sums = e53d60f6857fb0d3fae893030441b315
+ sha512sums = 1d12a40a17c7ba3ca82cfda975580dc83f9475db4784988a141ed15a6d4c6bf9fda1c223023c68e603b51dfa2166620a679600ccab00265da3c1042d7a7ee7f6
+
+pkgname = perl-hash-util-fieldhash-compat
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..697ef9a885f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator : CPANPLUS::Dist::Arch 1.28
+
+pkgname='perl-hash-util-fieldhash-compat'
+pkgver='0.07'
+pkgrel='1'
+pkgdesc="Use Hash::Util::FieldHash or ties, depending on availability"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+checkdepends=('perl-test-use-ok')
+url='http://search.mcpan.org/dist/Hash-Util-FieldHash-Compat'
+source=('http://search.mcpan.org/CPAN/authors/id/E/ET/ETHER/Hash-Util-FieldHash-Compat-0.07.tar.gz')
+md5sums=('e53d60f6857fb0d3fae893030441b315')
+sha512sums=('1d12a40a17c7ba3ca82cfda975580dc83f9475db4784988a141ed15a6d4c6bf9fda1c223023c68e603b51dfa2166620a679600ccab00265da3c1042d7a7ee7f6')
+_distdir="Hash-Util-FieldHash-Compat-0.07"
+
+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 "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_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: