aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-parse-recdescent/APKBUILD
blob: 2043e3ed915e60f6436fdb71cc42173b004932c6 (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
28
29
30
31
32
33
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-parse-recdescent
_realname=Parse-RecDescent
pkgver=1.967013
pkgrel=0
pkgdesc="Generate Recursive-Descent Parsers"
url="http://search.cpan.org/~dconway/Parse-RecDescent-1.96.0/"
arch="noarch"
license="Unknown"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JT/JTBRAUN/$_realname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_realname-$pkgver"

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$srcdir/$_realname-$pkgver"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="98f582240556a4a92e5d57e480f9d39d  Parse-RecDescent-1.967013.tar.gz"
sha256sums="226590d3850cd1678deb0190d5207b3477fb9070a8ca6f18d8999daf44485930  Parse-RecDescent-1.967013.tar.gz"
sha512sums="10d3daca3b4d23059937f81fe188b2377598841381dc92582c5cce6a1bfcb5963e1eed4d7f1601a45ae41ed0f3f864a50ff68cd72e05778866fe83cd3d158def  Parse-RecDescent-1.967013.tar.gz"