summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2020-07-01 08:13:20 +0200
committerPatrice Clement <monsieurp@gentoo.org>2020-07-01 08:17:08 +0200
commit89eca7a92d0b356f50b6f2e97d1665ab6a05a320 (patch)
tree93a4a20e5e9553776ebd77cfaf96fe528677b1ee /app-shells/hstr/hstr-2.2.ebuild
parentmedia-libs/libtgvoip: revbump, fix build without pulse (diff)
downloadgentoo-89eca7a92d0b356f50b6f2e97d1665ab6a05a320.tar.gz
gentoo-89eca7a92d0b356f50b6f2e97d1665ab6a05a320.tar.bz2
gentoo-89eca7a92d0b356f50b6f2e97d1665ab6a05a320.zip
app-shells/hstr: version and EAPI 7 bump.
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-shells/hstr/hstr-2.2.ebuild')
-rw-r--r--app-shells/hstr/hstr-2.2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-shells/hstr/hstr-2.2.ebuild b/app-shells/hstr/hstr-2.2.ebuild
new file mode 100644
index 00000000000..08f0c98ba78
--- /dev/null
+++ b/app-shells/hstr/hstr-2.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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:0=[unicode]"
+
+DEPEND="
+ ${RDEPEND}
+ 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
+ eautoreconf
+}