Merge branch '278-restic-module' into 'master'
Resolve "restic module" Closes #278 See merge request Pmodules/buildblocks!440
This commit is contained in:
11
Tools/restic/build
Executable file
11
Tools/restic/build
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::install() {
|
||||
install -m 0755 -d "${PREFIX}/bin"
|
||||
install -m 0755 "${SRC_DIR}/restic_${V_PKG}_linux_amd64" "${PREFIX}/bin/restic"
|
||||
}
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
20
Tools/restic/files/config.yaml
Normal file
20
Tools/restic/files/config.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
format: 1
|
||||
restic:
|
||||
defaults:
|
||||
group: Tools
|
||||
overlay: base
|
||||
relstage: stable
|
||||
systems: [.*]
|
||||
docfiles: []
|
||||
build_functions:
|
||||
configure: []
|
||||
compile: []
|
||||
shasums:
|
||||
restic_0.18.0_linux_amd64.bz2: 98f6dd8bf5b59058d04bfd8dab58e196cc2a680666ccee90275a3b722374438e
|
||||
versions:
|
||||
0.18.0:
|
||||
config:
|
||||
target_cpus: [x86_64]
|
||||
urls:
|
||||
- url: https://github.com/restic/restic/releases/download/v${V_PKG}/restic_${V_PKG}_linux_amd64.bz2
|
||||
unpacker: 7z
|
||||
13
Tools/restic/modulefile
Normal file
13
Tools/restic/modulefile
Normal file
@@ -0,0 +1,13 @@
|
||||
#%Pmodule
|
||||
|
||||
module-whatis "fast and secure backup program"
|
||||
module-url "https://restic.readthedocs.io/en/stable/index.html"
|
||||
module-license "BSD 2-Clause License"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
Restic is a fast and secure backup program. In the following sections, we
|
||||
will present typical workflows, starting with installing, preparing a new
|
||||
repository, and making the first backup.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user