mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-12-24 21:22:50 -08:00
add www-client/ddgr/ddgr-1.4.ebuild
This commit is contained in:
parent
6b64554909
commit
ad5b61adc5
@ -1,3 +1,5 @@
|
||||
DIST ddgr-1.2.tar.gz 39115 SHA256 a9828b8863949dc93dd574a15b6779d9390b6f5e277e35c157064d7c06423758 SHA512 7e760f8e523f7ce2b5932756480440f5fb09419da832ef33141e7619a2216c470116e48dcfb33286c44d5c2ca0773b4030834d1d4946aaf9b9e48a67cd17d77f WHIRLPOOL 58b02a8d5a2c26181934800716fb11736238de3f9f5732a71944e2cc90f3a48d446e21de233f469a6aaa85660d1d18b560c1247ace3e4c52ad795587b4bc6d1c
|
||||
EBUILD ddgr-1.2-r1.ebuild 1396 SHA256 4b6f2bb268aa1d0e019ec5b7e3d60d9000b9e428223b42b9996e2dc923f5ae78 SHA512 5a4d80a54bfb69ca22ab70a7f1c69f37bf54c5a0f49b39dceca7ddfbf450722c682c09b8cbbaef5ab13672814b0d19de256162d2b90f72a083b5df4ab37cacb3 WHIRLPOOL f15510264be12e76949829d1b1f24e05c923edae913243ca0d79eb709b096d551cd5e568f7741f20b70f06c91ee9391fe8c1405c519d4cc4bd53e3e0a4e2daff
|
||||
MISC metadata.xml 222 SHA256 f41a53e7bfb1eeafcb57bea0b0a2249a053267c03d444ce6cb62077bb5fc27e9 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef WHIRLPOOL 2e6b58f457c8d368b58e8396edba4364c28d9890a1903973809089e175457f754be7ea65400a9ee2b6223ed4cf23dde7fbdc7162537ecc218e9c637e78a814c0
|
||||
DIST ddgr-1.2.tar.gz 39115 BLAKE2B 19dee4075d7b681fe448b510bb0355cf8a29f78b8c2b2a2d2f21d210c31c1e98832432dee6b97366df7f40b6cab75b5b9e95a9965e782a51a1be4ba04fe44b98 SHA512 7e760f8e523f7ce2b5932756480440f5fb09419da832ef33141e7619a2216c470116e48dcfb33286c44d5c2ca0773b4030834d1d4946aaf9b9e48a67cd17d77f
|
||||
DIST ddgr-1.4.tar.gz 40983 BLAKE2B 68b2e529765480d34a8d1a097b87e02253c832c7199ac1abe2fd7f2f9fdfd8b25dae621ebd3df76f68e044855b5b2d0226cb6c74ba32394140458bf9a6cb9e76 SHA512 ef51a1a8634cc2417cf036cea1748fcfe0572861e3e0ea9625f7ce4b47c3d0e966a670e26912ab5aee2946d29fa8d4ac5e5bd7249719845f9107dcf02de710ed
|
||||
EBUILD ddgr-1.2-r1.ebuild 1396 BLAKE2B 398a6ad6acc1f08d7b77fa888c3d463ac982e4464aef5620e8cdef562fd1f1b70b1ec84f73952e44585be137953ded8282543d87b7d9ef24d084da32e39461ca SHA512 5a4d80a54bfb69ca22ab70a7f1c69f37bf54c5a0f49b39dceca7ddfbf450722c682c09b8cbbaef5ab13672814b0d19de256162d2b90f72a083b5df4ab37cacb3
|
||||
EBUILD ddgr-1.4.ebuild 1396 BLAKE2B 398a6ad6acc1f08d7b77fa888c3d463ac982e4464aef5620e8cdef562fd1f1b70b1ec84f73952e44585be137953ded8282543d87b7d9ef24d084da32e39461ca SHA512 5a4d80a54bfb69ca22ab70a7f1c69f37bf54c5a0f49b39dceca7ddfbf450722c682c09b8cbbaef5ab13672814b0d19de256162d2b90f72a083b5df4ab37cacb3
|
||||
MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef
|
||||
|
42
www-client/ddgr/ddgr-1.4.ebuild
Normal file
42
www-client/ddgr/ddgr-1.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="DuckDuckGo from the terminal"
|
||||
HOMEPAGE="https://github.com/jarun/ddgr"
|
||||
SRC_URI="https://github.com/jarun/ddgr/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 \`ddgr -h\`
|
||||
as well as \`man ddgr\` do what you expect
|
||||
man page requires USE="doc"
|
||||
*************************************************"
|
||||
|
||||
src_install() {
|
||||
install -Dm755 "${S}/ddgr" "${D}/usr/bin/ddgr"
|
||||
use doc && install -Dm644 "${S}/ddgr.1" "${D}/usr/share/man/man1/ddgr.1"
|
||||
install -Dm644 "${S}/auto-completion/fish/ddgr.fish" "${D}/usr/share/fish/vendor_completions.d/ddgr.fish"
|
||||
install -Dm644 "${S}/auto-completion/bash/ddgr-completion.bash" "${D}/usr/share/bash-completion/completions/ddgr"
|
||||
install -Dm644 "${S}/auto-completion/zsh/_ddgr" "${D}/usr/share/zsh/site-functions/_ddgr"
|
||||
use doc && readme.gentoo_create_doc
|
||||
use doc && dodoc CHANGELOG LICENSE README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use doc && readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user