Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
15712294
Commit
15712294
authored
Apr 17, 2024
by
Иван Мажукин
Committed by
Vitaly Lipatov
Apr 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add radicle (eterbug #17267)
parent
2df12aba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
0 deletions
+57
-0
radicle.sh
pack.d/radicle.sh
+24
-0
radicle.sh
play.d/radicle.sh
+18
-0
radicle.sh
repack.d/radicle.sh
+15
-0
No files found.
pack.d/radicle.sh
0 → 100755
View file @
15712294
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
$3
.
$(
dirname
$0
)
/common.sh
# radicle-x86_64-unknown-linux-musl.tar.gz
BASENAME
=
$(
basename
$TAR
.tar.gz
)
erc unpack
$TAR
||
fatal
mkdir
-p
usr/share/man/man1
mkdir
-p
opt/
$PRODUCT
mv
*
/
*
.1 usr/share/man/man1/
mv
*
/
*
opt/
$PRODUCT
/
PKGNAME
=
$PRODUCT
-
$VERSION
erc pack
$PKGNAME
.tar opt usr
||
fatal
return_tar
$PKGNAME
.tar
play.d/radicle.sh
0 → 100755
View file @
15712294
#!/bin/sh
PKGNAME
=
radicle
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
'Radicle is a sovereign code forge built on Git.'
URL
=
"https://radicle.xyz/"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
VERSION
=
$(
eget
-q
-O-
"https://files.radicle.xyz/latest/version.json"
| epm tool json
-b
|
grep
version |
awk
'gsub(/"/, "", $2) {print $2}'
)
[
-n
"
$VERSION
"
]
||
fatal
"Can't get version"
PKGURL
=
"https://files.radicle.xyz/latest/x86_64-unknown-linux-musl/radicle-x86_64-unknown-linux-musl.tar.gz"
install_pack_pkgurl
$VERSION
repack.d/radicle.sh
0 → 100755
View file @
15712294
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
add_libs_requires
add_bin_link_command rad
add_bin_link_command git-remote-rad
add_bin_link_command rad-web
add_bin_link_command radicle-httpd
add_bin_link_command radicle-node
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment