From: Patrice Clement Date: Sat, 21 Oct 2017 11:00:18 +0000 (+0200) Subject: net-misc/ntpclient: rework ebuild. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=27f3fd55732909f1acb9aef6099fccbce67128ae;p=gentoo.git net-misc/ntpclient: rework ebuild. Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- diff --git a/net-misc/ntpclient/ntpclient-2017.246.ebuild b/net-misc/ntpclient/ntpclient-2017.246.ebuild index 37daca2fed86..12af1add9c4d 100644 --- a/net-misc/ntpclient/ntpclient-2017.246.ebuild +++ b/net-misc/ntpclient/ntpclient-2017.246.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -7,19 +7,20 @@ inherit eutils DESCRIPTION="A NTP (RFC-1305) client for unix-alike computers" HOMEPAGE="https://github.com/troglobit/ntpclient" -SRC_URI="https://github.com/troglobit/ntpclient/releases/download/2017_246/ntpclient-2017_246.tar.xz" +SRC_URI="https://github.com/troglobit/ntpclient/releases/download/2017_217/ntpclient-2017_246.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +DOCS=( README.md "doc/HOWTO.md" "doc/rate.awk" "doc/rate2.awk" ) + src_unpack() { default mv "${WORKDIR}"/${PN}* ${P} || die } src_install() { - dobin "src/${PN}" - local DOCS=( README.md "doc/HOWTO.md" "doc/rate.awk" "doc/rate2.awk" ) einstalldocs + dobin "src/${PN}" }