mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-editors/nano: Synced live ebuild.
Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
@@ -8,7 +8,7 @@ if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.sv.gnu.org/nano.git"
|
||||
inherit git-r3 autotools
|
||||
else
|
||||
MY_P=${PN}-${PV/_}
|
||||
MY_P="${PN}-${PV/_}"
|
||||
SRC_URI="https://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
@@ -32,10 +32,10 @@ DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -64,7 +64,7 @@ src_configure() {
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -rf "${D}"/trash
|
||||
rm -rf "${ED%/}"/trash
|
||||
|
||||
dodoc doc/sample.nanorc
|
||||
docinto html
|
||||
@@ -78,6 +78,5 @@ src_install() {
|
||||
"${ED%/}"/etc/nanorc || die
|
||||
fi
|
||||
|
||||
dodir /usr/bin
|
||||
dosym ../../bin/nano /usr/bin/nano
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user