summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-23 21:15:09 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-23 21:15:09 (GMT)
commita0245c0aafc4b4b174c2a493eee576af3369b7c2 (patch)
treeefda33b93d18c4e82a2f0ac91a82f78056204525
parentfe46deff262c56033a4f0a1f6ff116ceb1edc1fb (diff)
downloadlinhes_pkgbuild-a0245c0aafc4b4b174c2a493eee576af3369b7c2.zip
linhes_pkgbuild-a0245c0aafc4b4b174c2a493eee576af3369b7c2.tar.gz
linhes_pkgbuild-a0245c0aafc4b4b174c2a493eee576af3369b7c2.tar.bz2
perl-parse-yapp: dep of samba
-rw-r--r--abs/core/perl_modules/perl-parse-yapp/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
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
+}