summaryrefslogtreecommitdiff
path: root/app-shells/peco
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-18 10:15:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-18 10:15:03 +0000
commitb284a3168fa91a038925d2ecf5e4791011ea5e7d (patch)
tree16fe44748708acacd909d4e2e160a09a7f6d936a /app-shells/peco
parent77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff)
gentoo resync : 18.11.2019
Diffstat (limited to 'app-shells/peco')
-rw-r--r--app-shells/peco/Manifest1
-rw-r--r--app-shells/peco/peco-0.5.3-r2.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/app-shells/peco/Manifest b/app-shells/peco/Manifest
index 4b4c3288366b..707f10827652 100644
--- a/app-shells/peco/Manifest
+++ b/app-shells/peco/Manifest
@@ -7,5 +7,6 @@ DIST github.com-pkg-errors-248dadf4e9068a0b3e79f02ed0a610d935de5302.tar.gz 11334
DIST github.com-stretchr-testify-18a02ba4a312f95da08ff4cfc0055750ce50ae9e.tar.gz 83549 BLAKE2B 7bdaac806a8ea401ad991f995e1f94fa2983debe6ed8ec4f54462a6f7641084c2ffe14814ad265aa825aa2132fc357d023fce43540e7ea3a433a16064cd3e833 SHA512 e9af02a015b8eff0c83ba7ad6236d83804f75206586ac7a260c2ee663764aa41af445420f296d793ab7ebd3ac9f346dfdd5f1bfda20a4cbdf0a7b29452c7ce37
DIST peco-0.5.3.tar.gz 77415 BLAKE2B 9f060e191550d39eed8dbf4b4379e424886476589e40af2c8bd2758c90636c6e9ab8e7551a32726f1f2d3338c7e59d47432d58f6493f03bbd3b8670095e27382 SHA512 c1b5678b369caa35e3bd2679eee857762c73bcc8a815d83e136fa1c30e48728a60f22be5d92132c8a733d591728f9293a973fc387502db79f5676ae1f45c6774
EBUILD peco-0.5.3-r1.ebuild 1591 BLAKE2B 6c3cb74040b59eb901b9e06672bfee82c7775996a65daefbaff1f47c8c09447adbec43029ae294c99caf726343074051a3362da8ee3b1c8d1c5c499c7f05c091 SHA512 191048f7f616216f7a295f285f2f94ac27708434291f334d9da15636d926748b0df735e00e3f33a9533514f3a6983777eb285f236282343f2f6e6761de33b5d0
+EBUILD peco-0.5.3-r2.ebuild 1486 BLAKE2B 29300f27965261a64269f68433ee707e91084f512c439da179d61df3b588d29358bbcdd1663a1aa532ea4190e42f12231405e4913ea85bb2960e0c352e967482 SHA512 ffa9cdf9e861b2093ab6f2fdacce82113b65d8e790a25bdeb380a0e06bfdb205a9ecd04cdb706fa48dbd6c83f3634fbd75f9218e737877975ac87712bb26557a
EBUILD peco-0.5.3.ebuild 1591 BLAKE2B 606d3404cee5fb38b0290ce3dd59fb5fc0308eb7c28c67d85f586c3fbff25b979d1eaafc78c76b2922ecfcfaa82ca40ac086dc2da1f488d36712a57d4a535ed9 SHA512 fb9e2909748a9064c3cd5894d19353fcc6b7481cafe8e41354f0e99a7d5d5f539a9c8c4542a95db615b4c280f7e5ffec93118dab5d18bec2a0dad495a592aae2
MISC metadata.xml 666 BLAKE2B e1594259e0f02808e487707acd6d8d1dcf20510aa92410aa03953606bace24777316a408c9079e342c8c6f7ab5680058fea2bfc65e5614751c7580aed78f00e2 SHA512 aab34e7bd48c51784cf3b1119c596893d56113b5a90dfa7e2782ca11e78d0ce2f80a9fdcde4e81e6fb6802a3075ba20bcd19fa9fb162fe2c68bdc1e91d3b6ef7
diff --git a/app-shells/peco/peco-0.5.3-r2.ebuild b/app-shells/peco/peco-0.5.3-r2.ebuild
new file mode 100644
index 000000000000..4bf612fe18c2
--- /dev/null
+++ b/app-shells/peco/peco-0.5.3-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_VENDOR=( "github.com/google/btree 0c3044bc8bada22db67b93f5760fe3f05d6a5c25"
+ "github.com/jessevdk/go-flags 8bc97d602c3bfeb5fc6fc9b5a9c898f245495637"
+ "github.com/lestrrat/go-pdebug 2e6eaaa5717f81bda41d27070d3c966f40a1e75f"
+ "github.com/mattn/go-runewidth 737072b4e32b7a5018b4a7125da8d12de90e8045"
+ "github.com/nsf/termbox-go e2050e41c8847748ec5288741c0b19a8cb26d084"
+ "github.com/pkg/errors 248dadf4e9068a0b3e79f02ed0a610d935de5302"
+ "github.com/stretchr/testify 18a02ba4a312f95da08ff4cfc0055750ce50ae9e" )
+
+EGO_PN="github.com/peco/${PN}"
+
+inherit golang-vcs-snapshot
+
+DESCRIPTION="Simplistic interactive filtering tool"
+HOMEPAGE="https://github.com/peco/peco"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_VENDOR_URI}"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="test"
+
+DOCS=( src/"${EGO_PN}"/{Changes,README.md} )
+
+src_prepare() {
+ default
+
+ # Don't install dependencies, make build verbose
+ sed -i -e '/peco\$(SUFFIX):/s/ installdeps//' \
+ -e '/test:/s/ installdeps//' \
+ -e '/go build/s/-o/-v -x -o/' \
+ -e '/go test -v/s#$(INTERNAL_BIN_DIR)/$(THIS_GOOS)/$(THIS_GOARCH)/##' \
+ src/"${EGO_PN}"/Makefile || die "sed failed"
+}
+
+src_compile() {
+ GOPATH="${S}:$(get_golibdir_gopath)" emake -C src/"${EGO_PN}" build
+}
+
+src_install() {
+ einstalldocs
+ dobin src/"${EGO_PN}"/releases/peco_linux_amd64/peco
+}