diff options
author | Sam James <sam@gentoo.org> | 2020-11-01 06:04:59 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-11-01 06:04:59 +0000 |
commit | 804bf63a761c57d16c9df949f3f3bb21b16eeabc (patch) | |
tree | dff107f9b45b6c630993c717c1c4aeecd64ab06b /app-misc/dfshow | |
parent | x11-misc/seetxt: fix build with gcc 10 (diff) | |
download | gentoo-804bf63a761c57d16c9df949f3f3bb21b16eeabc.tar.gz gentoo-804bf63a761c57d16c9df949f3f3bb21b16eeabc.tar.bz2 gentoo-804bf63a761c57d16c9df949f3f3bb21b16eeabc.zip |
app-misc/dfshow: bump to 0.9.1_beta
Closes: https://bugs.gentoo.org/707260
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/dfshow')
-rw-r--r-- | app-misc/dfshow/Manifest | 1 | ||||
-rw-r--r-- | app-misc/dfshow/dfshow-0.9.1_beta.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/dfshow/Manifest b/app-misc/dfshow/Manifest index 7ca0248b41d6..16cc9eaa7a61 100644 --- a/app-misc/dfshow/Manifest +++ b/app-misc/dfshow/Manifest @@ -1 +1,2 @@ DIST dfshow-0.8.2_beta.tar.gz 97733 BLAKE2B 99790b6901760a5e4adc7942fa84d11fb9d5e2f4e60a5d4abc2ce8fed0e86ab5f3def67c2f567b1ca54f1ecdbbe04522d4a75d69694b0ad213a69d86d49514e4 SHA512 1fca7f72c0200df13ac6e640314f9ad94ea3b88eb62a18a606f3a06a02252107f59747fbd404891fff5898b3796650023827ca59ceb690a0aa45e3c0a8bca749 +DIST dfshow-0.9.1_beta.tar.gz 109882 BLAKE2B a8351a4ae1e3d8f0a4166f7642bb32a1ec60723f73d7da9bdc8b496162c4174421e0e369499ace22cfeec64a32b3dbcd9411bdc10c19cc6427d04bc1df298c44 SHA512 c13347075f51c213e804855a1cc432076d8fcd5f278e4945b457fdddc3945e9d743f3dc4f26e4194f6a5b612a4e118081dd3afbb1a4523ae3c962a4fae68494e diff --git a/app-misc/dfshow/dfshow-0.9.1_beta.ebuild b/app-misc/dfshow/dfshow-0.9.1_beta.ebuild new file mode 100644 index 000000000000..29830de4a64a --- /dev/null +++ b/app-misc/dfshow/dfshow-0.9.1_beta.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools bash-completion-r1 + +MY_PV="${PV//_beta/-beta}" +DESCRIPTION="DF-SHOW is a Unix-like rewrite of some of the applications from DF-EDIT" +HOMEPAGE="https://github.com/roberthawdon/dfshow" +SRC_URI="https://github.com/roberthawdon/dfshow/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-libs/libconfig + sys-libs/ncurses:0= +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i 's/LDADD = -lncursesw -lm -lconfig/LDADD = -lncursesw -lm -lconfig -ltinfow/' Makefile.am || + die "sed in Makefile.am failed" + + eautoreconf +} + +src_install() { + default + + newbashcomp "${S}/misc/auto-completion/bash/sf-completion.bash" sf-completion + newbashcomp "${S}/misc/auto-completion/bash/show-completion.bash" show-completion + + insinto /usr/share/zsh/site-functions + doins "${S}/misc/auto-completion/zsh/_sf" + doins "${S}/misc/auto-completion/zsh/_show" +} |