Diff tree-sitter-0.20.7 with a tree-sitter-0.20.8
/usr/portage/dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild 2023-10-09 14:52:29.768368357 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
12 | 12 |
EGIT_REPO_URI="https://github.com/${PN}/${PN}" |
13 | 13 |
else |
14 | 14 |
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
15 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
|
15 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
|
16 | 16 |
fi |
17 | 17 | |
18 | 18 |
LICENSE="MIT" |
... | ... | |
20 | 20 | |
21 | 21 |
PATCHES=( "${FILESDIR}/${PN}-No-static-libs-gentoo.patch" ) |
22 | 22 | |
23 |
# see Makefile:1 |
|
24 |
QA_PKGCONFIG_VERSION="0.6.3" |
|
23 |
# see Makefile:1 |
|
24 |
QA_PKGCONFIG_VERSION="0.20.9" |
|
25 | ||
26 |
# XXX: Please, don't forget to check this on next version bump. |
|
27 |
# And, maybe remove as non-needed, if version in Makefile will |
|
28 |
# match the release. |
|
29 |
# ref: https://github.com/tree-sitter/tree-sitter/issues/2210 |
|
25 | 30 | |
26 | 31 |
src_prepare() { |
27 | 32 |
default |
... | ... | |
36 | 41 | |
37 | 42 |
src_install() { |
38 | 43 |
emake DESTDIR="${D}" \ |
39 |
PREFIX="${EPREFIX}/usr" \ |
|
40 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
|
41 |
install |
|
44 |
PREFIX="${EPREFIX}/usr" \ |
|
45 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
|
46 |
install |
|
42 | 47 |
} |
43 | 48 | |
44 | 49 |
pkg_postinst() { |