diff options
Diffstat (limited to 'dev-vcs/git-merge-changelog/git-merge-changelog-20221207.ebuild')
-rw-r--r-- | dev-vcs/git-merge-changelog/git-merge-changelog-20221207.ebuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-vcs/git-merge-changelog/git-merge-changelog-20221207.ebuild b/dev-vcs/git-merge-changelog/git-merge-changelog-20221207.ebuild new file mode 100644 index 000000000000..46bde6e2626b --- /dev/null +++ b/dev-vcs/git-merge-changelog/git-merge-changelog-20221207.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# snapshot extracted from git://git.savannah.gnu.org/gnulib.git using +# ./gnulib-tool --create-testdir --without-tests --dir=${PN} ${PN}; +# cd ${PN}; ./configure; make maintainer-clean + +EAPI=8 + +DESCRIPTION="Git merge driver for GNU style ChangeLog files" +HOMEPAGE="https://www.gnu.org/software/gnulib/" +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_install() { + emake DESTDIR="${D}" install + sed -n "/README/{h;:x;n;/^#/!{H;bx;};g;s/\n*$//;\ + s:/usr/local:${EPREFIX}/usr:g;p;q;}" gllib/git-merge-changelog.c \ + | newdoc - README; assert +} |