summaryrefslogtreecommitdiff
blob: 22ca247f8a48a7dca742a214e6aa16dc4c13f6c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit tree-sitter-grammar

DESCRIPTION="JavaScript grammar for Tree-sitter"
HOMEPAGE="https://github.com/tree-sitter/tree-sitter-javascript"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

# Override eclass SRC_URI as 0.20.1 was bumped incorrectly.
SRC_URI="https://github.com/tree-sitter/${PN}/archive/v${PV}.tar.gz
	-> ${P}-2.tar.gz"
S="${WORKDIR}"/${PN}-${PV}/src