Skip to content

Commit

Permalink
dev-libs/tree-sitter: fix warnings
Browse files Browse the repository at this point in the history
* QA_PKGCONFIG_VERSION is not needed anymore
    (and even produce false positive QA warning now)

* indentation (spaces after tabs) in src_install

Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
  • Loading branch information
msva committed Apr 13, 2023
1 parent d92b93c commit 39c6880
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ SLOT="0"

PATCHES=( "${FILESDIR}/${PN}-No-static-libs-gentoo.patch" )

# see Makefile:1
QA_PKGCONFIG_VERSION="0.6.3"

src_prepare() {
default
tc-export CC
Expand All @@ -36,9 +33,9 @@ src_compile() {

src_install() {
emake DESTDIR="${D}" \
PREFIX="${EPREFIX}/usr" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
install
PREFIX="${EPREFIX}/usr" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
install
}

pkg_postinst() {
Expand Down

0 comments on commit 39c6880

Please sign in to comment.