URI: 
       tnet-im/telegram-cli: Add 9999 - parlay - yet another gentoo overlay
  HTML git clone https://git.parazyd.org/parlay
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit c414b82044453835268a46db611fe20c84ba06e2
   DIR parent 0095c568025840bccf19afb628ffa64fc3185064
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Wed,  3 Aug 2022 08:48:17 +0200
       
       net-im/telegram-cli: Add 9999
       
       Diffstat:
         A net-im/telegram-cli/metadata.xml    |      12 ++++++++++++
         A net-im/telegram-cli/telegram-cli-9… |      42 +++++++++++++++++++++++++++++++
       
       2 files changed, 54 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/net-im/telegram-cli/metadata.xml b/net-im/telegram-cli/metadata.xml
       t@@ -0,0 +1,12 @@
       +<?xml version="1.0" encoding="UTF-8"?>
       +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
       +<pkgmetadata>
       +<maintainer type="person">
       +<email>parazyd@dyne.org</email>
       +</maintainer>
       +<longdescription lang="en">
       +</longdescription>
       +<use>
       +<flag name="json">Enable json support</flag>
       +</use>
       +</pkgmetadata>
   DIR diff --git a/net-im/telegram-cli/telegram-cli-9999.ebuild b/net-im/telegram-cli/telegram-cli-9999.ebuild
       t@@ -0,0 +1,42 @@
       +# Copyright 1999-2022 Gentoo Authors
       +# Distributed under the terms of the GNU General Public License v2
       +
       +EAPI=8
       +
       +inherit git-r3
       +
       +HOMEPAGE="https://github.com/vysheng/tg"
       +DESCRIPTION="Command line interface client for Telegram"
       +EGIT_REPO_URI="https://github.com/vysheng/tg.git"
       +if [[ "${PV}" -ne "9999" ]]; then
       +        EGIT_COMMIT="refs/tags/${PV}"
       +        KEYWORDS="~amd64 ~x86"
       +else
       +        KEYWORDS=""
       +fi
       +LICENSE="GPL-2"
       +SLOT="0"
       +IUSE="lua json"
       +
       +DEPEND="
       +        sys-libs/zlib
       +        sys-libs/readline
       +        dev-libs/libconfig
       +        dev-libs/openssl
       +        dev-libs/libevent
       +        lua? ( dev-lang/lua:* )
       +        json? ( dev-libs/jansson )
       +        "
       +RDEPEND="${DEPEND}"
       +
       +src_configure() {
       +        econf $(use_enable lua liblua) \
       +              $(use_enable json)
       +}
       +
       +src_install() {
       +        dobin bin/telegram-cli
       +
       +        insinto /etc/telegram-cli/
       +        newins tg-server.pub server.pub
       +}