summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-09-09 13:36:28 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-09-09 14:29:23 +0200
commitf74b0757b8c99dc882e359f542b7961119562656 (patch)
tree754be6155f61a428a2dab988b57711520da8d000 /app-misc
parentapp-misc/g15macro: Convert to EAPI-7 (diff)
downloadgentoo-f74b0757b8c99dc882e359f542b7961119562656.tar.gz
gentoo-f74b0757b8c99dc882e359f542b7961119562656.tar.bz2
gentoo-f74b0757b8c99dc882e359f542b7961119562656.zip
app-misc/g15message: EAPI-7 revbump
- Fixed docdir Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/g15message/files/g15message-1.0.0-docdir.patch11
-rw-r--r--app-misc/g15message/g15message-1.0.0-r2.ebuild (renamed from app-misc/g15message/g15message-1.0.0-r1.ebuild)14
2 files changed, 23 insertions, 2 deletions
diff --git a/app-misc/g15message/files/g15message-1.0.0-docdir.patch b/app-misc/g15message/files/g15message-1.0.0-docdir.patch
new file mode 100644
index 000000000000..e30f15fc74e4
--- /dev/null
+++ b/app-misc/g15message/files/g15message-1.0.0-docdir.patch
@@ -0,0 +1,11 @@
+--- g15message-1.0.0/Makefile.am
++++ g15message-1.0.0/Makefile.am
+@@ -3,7 +3,7 @@
+ METASOURCES = AUTO
+ bin_PROGRAMS = g15message
+
+-docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
++docdir = @docdir@
+ doc_DATA = README ChangeLog AUTHORS NEWS COPYING
+
+ LIBS = -lg15daemon_client -lg15render
diff --git a/app-misc/g15message/g15message-1.0.0-r1.ebuild b/app-misc/g15message/g15message-1.0.0-r2.ebuild
index 833b89120139..67ce1006de3e 100644
--- a/app-misc/g15message/g15message-1.0.0-r1.ebuild
+++ b/app-misc/g15message/g15message-1.0.0-r2.ebuild
@@ -1,7 +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
+EAPI=7
+
+inherit autotools
DESCRIPTION="A simple message/alert client for G15daemon"
HOMEPAGE="https://sourceforge.net/projects/g15daemon/"
@@ -18,3 +20,11 @@ RDEPEND=">=app-misc/g15daemon-1.9.0
sys-libs/zlib
"
DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-docdir.patch" )
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ eautoreconf
+}