summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/cgoban/cgoban-1.9.14-r2.ebuild')
-rw-r--r--games-board/cgoban/cgoban-1.9.14-r2.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/games-board/cgoban/cgoban-1.9.14-r2.ebuild b/games-board/cgoban/cgoban-1.9.14-r2.ebuild
index ad2c9a790a3..2abce46ebda 100644
--- a/games-board/cgoban/cgoban-1.9.14-r2.ebuild
+++ b/games-board/cgoban/cgoban-1.9.14-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils autotools
+EAPI=7
+
+inherit autotools desktop
DESCRIPTION="A Go-frontend"
HOMEPAGE="http://cgoban1.sourceforge.net/"
@@ -11,7 +12,6 @@ SRC_URI="mirror://sourceforge/cgoban1/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="
virtual/imagemagick-tools
@@ -25,17 +25,16 @@ PATCHES=(
)
src_prepare() {
- # ${P}-cflags.patch patches configure.ac, not .in:
- mv configure.{in,ac} || die
-
default
-
cp cgoban_icon.png ${PN}.png || die
+
+ mv configure.{in,ac} || die
eautoreconf
}
src_install() {
default
+
doicon ${PN}.png
make_desktop_entry cgoban Cgoban
}