gentoo/dev-util/open-vcdiff/open-vcdiff-0.8.4-r2.ebuild
Michael Mair-Keimberger 25678977f2
dev-util/open-vcdiff: EAPI8 bump, fix bug 804447
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>

Closes: https://bugs.gentoo.org/804447
Closes: https://github.com/gentoo/gentoo/pull/35018
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-03-10 11:16:06 +02:00

26 lines
578 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="An encoder/decoder for the VCDIFF (RFC3284) format"
HOMEPAGE="https://github.com/google/open-vcdiff"
SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/0"
KEYWORDS="~amd64 ~x86"
PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
src_prepare() {
sed -i -e "s|^docdir =.*|docdir = \"${EPREFIX}/usr/share/doc/${PF}\"|g" \
Makefile.in || die
default
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}