diff options
Diffstat (limited to 'app-misc/dfshow')
-rw-r--r-- | app-misc/dfshow/Manifest | 2 | ||||
-rw-r--r-- | app-misc/dfshow/dfshow-0.9.1_beta.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/dfshow/Manifest b/app-misc/dfshow/Manifest index da4739c5c4fc..ce55f638c2e4 100644 --- a/app-misc/dfshow/Manifest +++ b/app-misc/dfshow/Manifest @@ -1,3 +1,5 @@ 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 EBUILD dfshow-0.8.2_beta.ebuild 737 BLAKE2B d172580efe123e969118b89e31c235f244a7767e2500555b6ef08fbf47675e6f4396d8b0d0eff11d8eb6f91c29bda3e4d73fd047abb5ee2abb1b7d51c2f5c56f SHA512 9b3f8bebdf15d474dc0fe8baceaac97af80f4e54cd8a77ae12480f774d5e8aaaed038a8b4a8e3393545173cd0dd58589fbf8d63745f52c4fe69ff7ba39424fe7 +EBUILD dfshow-0.9.1_beta.ebuild 1049 BLAKE2B 5e83a55c20fcb5fb025da6362a45d7521d50815e3854f2b0f0b255361e49db7180e01cc05647526deaf0eb613e269dabd677c5a2969d709e80e5ac599e249447 SHA512 17f593866cae0314c92ed0d69e842206826199a318b38ab45ef8b2f1cc054f85b2004c53467620097fa9265453db023a61ea3a315c04448925ab54774798d8e7 MISC metadata.xml 432 BLAKE2B 070e05fa430c4198c17b388d23dcf7dc75bd7249a3de6d664399a1a30bd26126b18098b11c144ef639b63b5cd8d5988e95cead669c4cac5081496d8ed19e5c7e SHA512 ebd53dbe275b79137bdc3515674b9a23afba5d727b5deeb63b41e97e069fd2873e5ec322b6e4635a227c9a0a2ee5080755b4c8d5566a5a24abc74ee9c965c812 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" +} |