x11-misc/xnots: Update live ebuild.
authorJeroen Roovers <jer@gentoo.org>
Fri, 7 Apr 2017 09:24:40 +0000 (11:24 +0200)
committerJeroen Roovers <jer@gentoo.org>
Fri, 7 Apr 2017 09:24:40 +0000 (11:24 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

x11-misc/xnots/xnots-0.2.1-r2.ebuild
x11-misc/xnots/xnots-9999.ebuild

index 89500bfca7bbdeeb27d1b2407f4dcdf3f6e14aec..15752d3477879a13a63905c22869c337764e6e79 100644 (file)
@@ -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
index 59d0d019ec270a7e479b3731a5370c3e147a7279..4574a53d43aa496a54168c6eb5e698d847f023ab 100644 (file)
@@ -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