mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-12-24 21:22:50 -08:00
add www-client/googler
This commit is contained in:
parent
f6e0f1f1c5
commit
6b64554909
3
www-client/googler/Manifest
Normal file
3
www-client/googler/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST googler-3.4.tar.gz 70222 SHA256 187d9369ed0d7d2db118a0144ccbc54f18a1b8e7ef24921571b80dbaaad726aa SHA512 e16e230df189dfe366e2b0a9e70f54ca42047d3a53ebed2e22fb1b066621391712d455b52465435c7159face8b439fd152c03c54f56f105c7115dc68926c1650 WHIRLPOOL c93bf8cb0d2bc7c394e197e38d1cf19777c7ca15aae8774f87ddb2dc052518d97899ff1b5bf5aa07afd855bd6343ced83a4580238698325ab258f3627e535fe0
|
||||
EBUILD googler-3.4.ebuild 1434 SHA256 b02f6ad3fc2b653f81fe3cef1311440f518b2f5f1873ab4fe4974922f9953199 SHA512 81dd121c07ad3c3354d92209e3a65a2570359ebb258b6346a7bb8017f1fe5872884af655b37af555345a343b86fb6eb7c489ba59b4b0ee4fc871c95d6b3569ab WHIRLPOOL 18c69c8e74d4fb9fcac8a80fb82428edff0b04474e04e0de9d5f205e9286e18e13daef0f48507cbe75676db25fb4f01da3c586e3e8e20d681d43f416cf5b38c0
|
||||
MISC metadata.xml 222 SHA256 f41a53e7bfb1eeafcb57bea0b0a2249a053267c03d444ce6cb62077bb5fc27e9 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef WHIRLPOOL 2e6b58f457c8d368b58e8396edba4364c28d9890a1903973809089e175457f754be7ea65400a9ee2b6223ed4cf23dde7fbdc7162537ecc218e9c637e78a814c0
|
42
www-client/googler/googler-3.4.ebuild
Normal file
42
www-client/googler/googler-3.4.ebuild
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Google from the terminal"
|
||||
HOMEPAGE="https://github.com/jarun/googler"
|
||||
SRC_URI="https://github.com/jarun/googler/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE=GPL-3
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+doc"
|
||||
|
||||
DEPEND=""
|
||||
# RDEPEND="${DEPEND}"
|
||||
RDEPEND="dev-lang/python"
|
||||
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
DOC_CONTENTS=" ********************************
|
||||
All configuration is from the environment, so i.e.
|
||||
\`export BROWSER=w3m\` or \`export BROWSER=firefox\`
|
||||
in your bashrc or whatever, and also \`googler -h\`
|
||||
as well as \`man googler\` do what you expect
|
||||
man page requires USE="doc"
|
||||
*************************************************"
|
||||
|
||||
src_install() {
|
||||
install -Dm755 "${S}/googler" "${D}/usr/bin/googler"
|
||||
use doc && install -Dm644 "${S}/googler.1" "${D}/usr/share/man/man1/googler.1"
|
||||
install -Dm644 "${S}/auto-completion/fish/googler.fish" "${D}/usr/share/fish/vendor_completions.d/googler.fish"
|
||||
install -Dm644 "${S}/auto-completion/bash/googler-completion.bash" "${D}/usr/share/bash-completion/completions/googler"
|
||||
install -Dm644 "${S}/auto-completion/zsh/_googler" "${D}/usr/share/zsh/site-functions/_googler"
|
||||
use doc && readme.gentoo_create_doc
|
||||
use doc && dodoc CHANGELOG LICENSE README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use doc && readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
7
www-client/googler/metadata.xml
Normal file
7
www-client/googler/metadata.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>trenttdually@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user