Skip to content

Commit bb86491

Browse files
committed
New package: radicle-1.9.1
1 parent 3ccefaa commit bb86491

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

srcpkgs/radicle/template

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Template file for 'radicle'
2+
pkgname=radicle
3+
version=1.9.1
4+
revision=1
5+
build_style=cargo
6+
configure_args="--bin rad --bin radicle-node --bin git-remote-rad"
7+
hostmakedepends="curl pkg-config"
8+
makedepends="libgit2-1.9-devel"
9+
depends="git>=2.34 openssh>=9.1"
10+
short_desc="Radicle is a peer-to-peer & local-first git forge"
11+
maintainer="gnist <gnist@kollektiv.email>"
12+
license="MIT AND Apache-2.0"
13+
homepage="https://radicle.dev"
14+
changelog="https://radicle.network/nodes/seed.radicle.dev/rad%3Az3gqcJUoA1n9HaHKufZs5FCSGazv5/tree/CHANGELOG.md"
15+
distfiles="https://seed.radicle.dev/raw/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/archive/releases/${version}>${version}.tar.gz"
16+
checksum=e444d2a5e5850490e00e4b13433e474898517c87e5151ec72610d657ac7c9e7c
17+
18+
do_install() {
19+
: ${make_cmd:=cargo auditable}
20+
: ${make_verbose:=-v}
21+
22+
${make_cmd} install ${XBPS_VERBOSE+${make_verbose}} --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
23+
--offline --locked --path crates/radicle-cli
24+
25+
${make_cmd} install ${XBPS_VERBOSE+${make_verbose}} --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
26+
--offline --locked --path crates/radicle-node
27+
28+
${make_cmd} install ${XBPS_VERBOSE+${make_verbose}} --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
29+
--offline --locked --path crates/radicle-remote-helper
30+
31+
rm -f "${DESTDIR}"/usr/.crates.toml
32+
rm -f "${DESTDIR}"/usr/.crates2.json
33+
}
34+
35+
post_install() {
36+
vlicense LICENSE-APACHE
37+
vlicense LICENSE-MIT
38+
}

0 commit comments

Comments
 (0)