summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-30 05:07:05 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-30 06:48:11 -0400
commit876bd6875f3669646929f012647be6fbbe34aea9 (patch)
treed0793e0ed4e2b233a85c5bd00c2e8f2e7de4055f /x11-misc/xbatt
parentx11-misc/xautolock: force gcc -E for imake's generation (diff)
downloadgentoo-876bd6875f3669646929f012647be6fbbe34aea9.tar.gz
gentoo-876bd6875f3669646929f012647be6fbbe34aea9.tar.bz2
gentoo-876bd6875f3669646929f012647be6fbbe34aea9.zip
x11-misc/xbatt: EAPI6->8, drop dead urls
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-misc/xbatt')
-rw-r--r--x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild (renamed from x11-misc/xbatt/xbatt-1.3_rc1.ebuild)25
1 files changed, 13 insertions, 12 deletions
diff --git a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild
index df26d01cbd2c..56d0ce5f7d91 100644
--- a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild
+++ b/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild
@@ -1,13 +1,16 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit toolchain-funcs eapi7-ver
+EAPI=8
+
+inherit toolchain-funcs
MY_PV=${PV/_rc/pr}
+
DESCRIPTION="Notebook battery indicator for X"
-HOMEPAGE="http://www.clave.gr.jp/~eto/xbatt/"
-SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${PN}-${MY_PV}.tar.gz"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${PN}-${MY_PV}.tar.gz"
+S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
LICENSE="xbatt"
SLOT="0"
@@ -19,17 +22,15 @@ RDEPEND="
x11-libs/libXaw
x11-libs/libXext
x11-libs/libxkbfile
- x11-libs/libXpm
-"
+ x11-libs/libXpm"
DEPEND="
${RDEPEND}
- x11-base/xorg-proto
- >=x11-misc/imake-1.0.8-r1
-"
+ x11-base/xorg-proto"
+BDEPEND=">=x11-misc/imake-1.0.8-r1"
+
PATCHES=(
"${FILESDIR}"/${PN}-1.2.1-implicits.patch
)
-S="${WORKDIR}"/${PN}-$(ver_cut 1-2)
src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
@@ -46,5 +47,5 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install
- dodoc README*
+ einstalldocs
}