app-shells/hstr - 2.6 (gentoo)

Search

Package Information

Description:
Shell history suggest box
Homepage:
https://github.com/dvorka/hstr http://www.mindforger.com
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
2.6 7 amd64 x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools toolchain-funcs

DESCRIPTION="Shell history suggest box"
HOMEPAGE="https://github.com/dvorka/hstr http://www.mindforger.com"
SRC_URI="https://github.com/dvorka/hstr/archive/${PV}.tar.gz -> ${P}.tar.gz"

SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="amd64 x86"

RDEPEND="
	sys-libs/ncurses:=[unicode(+)]"

DEPEND="
	${RDEPEND}"

BDEPEND="virtual/pkgconfig"

DOCS=( CONFIGURATION.md README.md )

PATCHES=(
	"${FILESDIR}"/${PN}-2.0-fix-ncurses-configure.patch
)

src_prepare() {
	default

	sed \
		-e 's:-O2::g' \
		-i src/Makefile.am || die

	tc-export PKG_CONFIG

	eautoreconf
}

Dependencies

DEPEND

	
	sys-libs/ncurses:=[unicode(+)]

RDEPEND

	sys-libs/ncurses:=[unicode(+)]

BDEPEND

virtual/pkgconfig

Manifest for 2.6

Type File Size Source URLs
DIST hstr-2.6.tar.gz 1249557 bytes https://github.com/dvorka/hstr/archive/2.6.tar.gz