Diff tree-sitter-0.20.8-r1 with a tree-sitter-9999
/usr/portage/dev-libs/tree-sitter/tree-sitter-9999.ebuild 2023-10-09 14:52:29.768368357 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
18 | 18 |
LICENSE="MIT" |
19 | 19 |
SLOT="0" |
20 | 20 | |
21 |
PATCHES=( |
|
22 |
"${FILESDIR}/${PN}-No-static-libs-gentoo.patch" |
|
23 |
"${FILESDIR}/${PN}-0.20.8-no-parser-header.patch" |
|
24 |
) |
|
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 |
|
30 |
# see Makefile:1 |
|
31 |
QA_PKGCONFIG_VERSION="0.20.9" |
|
21 |
PATCHES=( "${FILESDIR}/${PN}-No-static-libs-gentoo.patch" ) |
|
32 | 22 | |
33 | 23 |
src_prepare() { |
34 | 24 |
default |
... | ... | |
43 | 33 | |
44 | 34 |
src_install() { |
45 | 35 |
emake DESTDIR="${D}" \ |
46 |
PREFIX="${EPREFIX}/usr" \ |
|
47 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
|
48 |
install |
|
36 |
PREFIX="${EPREFIX}/usr" \ |
|
37 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
|
38 |
install |
|
49 | 39 |
} |
50 | 40 | |
51 | 41 |
pkg_postinst() { |