blob: aceae908b8e82907378d6c58b4186be42d7d30c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}
|