summaryrefslogtreecommitdiff
blob: 247933414e4e06f0f675a3d8ae3c3b6a8c139367 (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
DIST_VERSION=0.15
DIST_AUTHOR="CMUNGALL"
DEB_PATCH_VER="7"

inherit perl-module

DESCRIPTION="GO::Parser parses all GO files formats and types"
SRC_URI="${SRC_URI}
	mirror://debian/pool/main/libg/libgo-perl/lib${PN}_${DIST_VERSION}-${DEB_PATCH_VER}.debian.tar.xz
"

SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND=">=dev-perl/Data-Stag-0.11"
BDEPEND="${RDEPEND}"
DEPEND=""

src_prepare() {
	for patch in $(< "${WORKDIR}"/debian/patches/series); do
		eapply "${WORKDIR}"/debian/patches/${patch}
	done

	perl-module_src_prepare
}