summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGergan Penkov2015-08-01 22:06:52 +0200
committerGergan Penkov2015-08-01 22:06:52 +0200
commitdd2b1c23b07c9ccf3fb437abebc216b403a2d3a1 (patch)
treedf46b129be700b960832185f6105a25924524c46
downloadaur-dd2b1c23b07c9ccf3fb437abebc216b403a2d3a1.tar.gz
transfered from aur
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD35
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8c81aa0488f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = perl-data-visitor
+ pkgdesc = Visitor style traversal of Perl data structures
+ pkgver = 0.30
+ pkgrel = 1
+ url = http://search.cpan.org/dist/Data-Visitor
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ makedepends = perl-test-requires
+ depends = perl-class-load>=0.06
+ depends = perl-moose>=0.89
+ depends = perl-namespace-clean>=0.19
+ depends = perl-task-weaken
+ depends = perl-tie-toobject>=0.01
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Data-Visitor-0.30.tar.gz
+ md5sums = a43deb0bc99f4d49721965780eae6cef
+ sha512sums = cdd3f5076dbbfb3afce714677e936417b96315dd50735c015795fb2c9d143d4e2ceeb305366f9985032b17899b911267dbafefa56493ff20f16c74da1a9330a8
+
+pkgname = perl-data-visitor
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..903d291221b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# CPAN Name : Data-Visitor
+# Submitter : aCiD2
+# Maintainer : SIGTERM
+
+pkgname='perl-data-visitor'
+pkgver='0.30'
+pkgrel='1'
+pkgdesc="Visitor style traversal of Perl data structures"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-class-load>=0.06' 'perl-moose>=0.89' 'perl-namespace-clean>=0.19' 'perl-task-weaken' 'perl-tie-toobject>=0.01')
+makedepends=('perl-test-requires')
+url='http://search.cpan.org/dist/Data-Visitor'
+source=('http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Data-Visitor-0.30.tar.gz')
+md5sums=('a43deb0bc99f4d49721965780eae6cef')
+sha512sums=('cdd3f5076dbbfb3afce714677e936417b96315dd50735c015795fb2c9d143d4e2ceeb305366f9985032b17899b911267dbafefa56493ff20f16c74da1a9330a8')
+
+build() {
+ cd "$srcdir/Data-Visitor-0.30"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/Data-Visitor-0.30"
+ PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd "$srcdir/Data-Visitor-0.30"
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete
+}