diff options
author | 2021-07-23 18:40:43 +0100 | |
---|---|---|
committer | 2021-07-23 18:40:43 +0100 | |
commit | 31eb8ce40707a671b42272081dcbeb424ec740ad (patch) | |
tree | 1b944e95134bd4ea5b27e97bbe904c1455806fdb | |
parent | sys-apps/logwatch: add 7.5.6 (diff) | |
download | gentoo-31eb8ce40707a671b42272081dcbeb424ec740ad.tar.gz gentoo-31eb8ce40707a671b42272081dcbeb424ec740ad.tar.bz2 gentoo-31eb8ce40707a671b42272081dcbeb424ec740ad.zip |
sys-apps/logwatch: minor ebuild modernisation
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-apps/logwatch/logwatch-7.5.6.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/logwatch/logwatch-9999.ebuild | 8 |
2 files changed, 5 insertions, 9 deletions
diff --git a/sys-apps/logwatch/logwatch-7.5.6.ebuild b/sys-apps/logwatch/logwatch-7.5.6.ebuild index 3bc98aecc866..13d30026df24 100644 --- a/sys-apps/logwatch/logwatch-7.5.6.ebuild +++ b/sys-apps/logwatch/logwatch-7.5.6.ebuild @@ -5,8 +5,6 @@ EAPI="7" inherit tmpfiles -PATCHES=() - if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://git.code.sf.net/p/logwatch/git ${PN}" inherit git-r3 @@ -20,9 +18,7 @@ HOMEPAGE="https://sourceforge.net/projects/logwatch/" LICENSE="MIT" SLOT="0" -IUSE="" -DEPEND="" RDEPEND="virtual/cron virtual/mta virtual/mailx @@ -33,6 +29,8 @@ RDEPEND="virtual/cron dev-perl/Sys-CPU dev-perl/Sys-MemInfo" +PATCHES=() + src_install() { dodir /usr/share/logwatch/lib dodir /usr/share/logwatch/scripts/services diff --git a/sys-apps/logwatch/logwatch-9999.ebuild b/sys-apps/logwatch/logwatch-9999.ebuild index 247b3915d881..13d30026df24 100644 --- a/sys-apps/logwatch/logwatch-9999.ebuild +++ b/sys-apps/logwatch/logwatch-9999.ebuild @@ -1,12 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" inherit tmpfiles -PATCHES=() - if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://git.code.sf.net/p/logwatch/git ${PN}" inherit git-r3 @@ -20,9 +18,7 @@ HOMEPAGE="https://sourceforge.net/projects/logwatch/" LICENSE="MIT" SLOT="0" -IUSE="" -DEPEND="" RDEPEND="virtual/cron virtual/mta virtual/mailx @@ -33,6 +29,8 @@ RDEPEND="virtual/cron dev-perl/Sys-CPU dev-perl/Sys-MemInfo" +PATCHES=() + src_install() { dodir /usr/share/logwatch/lib dodir /usr/share/logwatch/scripts/services |