From: Jeroen Roovers Date: Fri, 7 Apr 2017 09:24:40 +0000 (+0200) Subject: x11-misc/xnots: Update live ebuild. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=89b1345faf70b8401074f5edba8f5fe8f32f7073;p=gentoo.git x11-misc/xnots: Update live ebuild. Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- diff --git a/x11-misc/xnots/xnots-0.2.1-r2.ebuild b/x11-misc/xnots/xnots-0.2.1-r2.ebuild index 89500bfca7bb..15752d347787 100644 --- a/x11-misc/xnots/xnots-0.2.1-r2.ebuild +++ b/x11-misc/xnots/xnots-0.2.1-r2.ebuild @@ -51,6 +51,7 @@ src_install() { mandir=/usr/share/man \ prefix=/usr \ install + if use vim-syntax; then insinto /usr/share/vim/vimfiles/syntax doins etc/xnots.vim diff --git a/x11-misc/xnots/xnots-9999.ebuild b/x11-misc/xnots/xnots-9999.ebuild index 59d0d019ec27..4574a53d43aa 100644 --- a/x11-misc/xnots/xnots-9999.ebuild +++ b/x11-misc/xnots/xnots-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit flag-o-matic git-r3 toolchain-funcs DESCRIPTION="A desktop sticky note program for the unix geek" @@ -29,6 +29,8 @@ DEPEND=" " src_prepare() { + default + sed -i -e 's|LICENCE||g' Makefile || die append-cflags -std=gnu89 @@ -45,6 +47,7 @@ src_install() { mandir=/usr/share/man \ prefix=/usr \ install + if use vim-syntax; then insinto /usr/share/vim/vimfiles/syntax doins etc/xnots.vim