blob: 1e3195df27c6c7c8c77dcdeddbc13fc0b0d1cce0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit tree-sitter-grammar
DESCRIPTION="Gleam grammar for Tree-sitter"
HOMEPAGE="https://github.com/gleam-lang/tree-sitter-gleam"
SRC_URI="https://github.com/gleam-lang/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${P}/src
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
src_install() {
tree-sitter-grammar_src_install
docinto queries
dodoc ../queries/{highlights,locals,tags}.scm
}
|