diff options
author | Sam James <sam@gentoo.org> | 2023-01-10 15:31:59 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-10 15:31:59 +0000 |
commit | ea6956048bcc981026586d867da137936fbc1917 (patch) | |
tree | 1b3ca2b05f764799d49d15fbc2c979d6974816fb | |
parent | app-text/lesspipe: add 2.07 (diff) | |
download | gentoo-ea6956048bcc981026586d867da137936fbc1917.tar.gz gentoo-ea6956048bcc981026586d867da137936fbc1917.tar.bz2 gentoo-ea6956048bcc981026586d867da137936fbc1917.zip |
sys-apps/less: style fixes
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-apps/less/less-618_beta.ebuild | 11 | ||||
-rw-r--r-- | sys-apps/less/less-9999.ebuild | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/sys-apps/less/less-618_beta.ebuild b/sys-apps/less/less-618_beta.ebuild index 9add6f6c1d52..afce93c3d215 100644 --- a/sys-apps/less/less-618_beta.ebuild +++ b/sys-apps/less/less-618_beta.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 + WANT_AUTOMAKE=none WANT_LIBTOOL=none -if [[ $PV == 9999 ]]; then +if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/gwsw/less" inherit git-r3 fi @@ -21,8 +22,8 @@ MY_PV=${PV/_beta/-beta} MY_P=${PN}-${MY_PV} DESCRIPTION="Excellent text file viewer" HOMEPAGE="http://www.greenwoodsoftware.com/less/" -[ $PV != 9999 ] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P/?beta} +[[ ${PV} != 9999 ]] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P/?beta} LICENSE="|| ( GPL-3 BSD-2 )" SLOT="0" @@ -37,7 +38,7 @@ RDEPEND="${DEPEND}" src_prepare() { default # Per upstream README to prepare live build - [ $PV == 9999 ] && emake -f Makefile.aut distfiles + [[ ${PV} == 9999 ]] && emake -f Makefile.aut distfiles # Upstream uses unpatched autoconf-2.69, which breaks with clang-16. # https://bugs.gentoo.org/870412 eautoreconf diff --git a/sys-apps/less/less-9999.ebuild b/sys-apps/less/less-9999.ebuild index 9add6f6c1d52..afce93c3d215 100644 --- a/sys-apps/less/less-9999.ebuild +++ b/sys-apps/less/less-9999.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 + WANT_AUTOMAKE=none WANT_LIBTOOL=none -if [[ $PV == 9999 ]]; then +if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/gwsw/less" inherit git-r3 fi @@ -21,8 +22,8 @@ MY_PV=${PV/_beta/-beta} MY_P=${PN}-${MY_PV} DESCRIPTION="Excellent text file viewer" HOMEPAGE="http://www.greenwoodsoftware.com/less/" -[ $PV != 9999 ] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P/?beta} +[[ ${PV} != 9999 ]] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P/?beta} LICENSE="|| ( GPL-3 BSD-2 )" SLOT="0" @@ -37,7 +38,7 @@ RDEPEND="${DEPEND}" src_prepare() { default # Per upstream README to prepare live build - [ $PV == 9999 ] && emake -f Makefile.aut distfiles + [[ ${PV} == 9999 ]] && emake -f Makefile.aut distfiles # Upstream uses unpatched autoconf-2.69, which breaks with clang-16. # https://bugs.gentoo.org/870412 eautoreconf |