blob: 6b8dc312484806888d4fb3a3229fcc42fef70f17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
RUST_MIN_VER="1.89.0"
inherit cargo shell-completion
DESCRIPTION="Real-time co-editing of local text files"
HOMEPAGE="https://teamtype.github.io/teamtype/"
SRC_URI="https://github.com/teamtype/teamtype/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/${P}/${P}-crates.tar.xz"
S="${WORKDIR}/${P}/crates/${PN}"
LICENSE="AGPL-3+"
# ring licenses
LICENSE+=" openssl"
# Autogenerated by pycargoebuild
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD CC0-1.0 CDLA-Permissive-2.0 EUPL-1.2 GPL-3 ISC LGPL-3
MIT MPL-2.0 Unicode-3.0 Unlicense ZLIB
"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/teamtype"
DEPEND="dev-libs/libgit2:="
RDEPEND="${DEPEND}"
src_install() {
cargo_src_install
pushd "${WORKDIR}"/${P} >/dev/null || die
dodoc CHANGELOG.md README.md
doman target/manpages/*.1
newbashcomp target/completions/${PN}.bash ${PN}
dofishcomp target/completions/${PN}.fish
dozshcomp target/completions/_${PN}
popd >/dev/null || die
}
|