From a0245c0aafc4b4b174c2a493eee576af3369b7c2 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 23 Mar 2018 21:15:09 +0000
Subject: perl-parse-yapp: dep of samba

---
 abs/core/perl_modules/perl-parse-yapp/PKGBUILD | 27 ++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 abs/core/perl_modules/perl-parse-yapp/PKGBUILD

diff --git a/abs/core/perl_modules/perl-parse-yapp/PKGBUILD b/abs/core/perl_modules/perl-parse-yapp/PKGBUILD
new file mode 100644
index 0000000..aceae90
--- /dev/null
+++ b/abs/core/perl_modules/perl-parse-yapp/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Charles Mauch <cmauch@gmail.com>
+
+pkgname=perl-parse-yapp
+pkgver=1.05
+pkgrel=8
+pkgdesc="Perl/CPAN Module Parse::Yapp : Generates OO LALR parser modules"
+arch=("any")
+url="http://search.cpan.org/dist/Parse-Yapp"
+license=("GPL" "PerlArtistic")
+depends=('perl')
+source=("https://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-$pkgver.tar.gz")
+sha256sums=('228a6cfb483ade811720bb77647900ef359dfc3e071359eb73d39e4a1cc6f22b')
+
+build() {
+  cd "$srcdir"/Parse-Yapp-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/Parse-Yapp-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}
-- 
cgit v0.12

