blob: 49ac3507e750f8d386f460f7e6a22fd586532aa6 (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Devon T. Bautista <devonb@lanl.gov>
pkgname='ochami-bin'
pkgver=0.0.7
pkgrel=1
pkgdesc='Command line interface for OpenCHAMI services'
url='https://github.com/OpenCHAMI/ochami'
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('ochami')
conflicts=('ochami-git')
optdepends=('bash-completion: for bash completion support' 'jq: for pretty-printing JSON' 'zsh-completions: for zsh completion support')
backup=('etc/ochami/config.yaml')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/OpenCHAMI/ochami/releases/download/v0.0.7/ochami_Linux_arm64.tar.gz")
sha256sums_aarch64=('ad62998dae8a219ab75f19c3ff3a817fbc68da5e4ddfc98e051288bbd7d0e92d')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/OpenCHAMI/ochami/releases/download/v0.0.7/ochami_Linux_x86_64.tar.gz")
sha256sums_x86_64=('fd334006c0d9db035aa5f87986780590c36073ba7fae3ad9e945e7d055edb16d')
package() {
# Binary
install -Dm755 "./ochami" "${pkgdir}/usr/bin/ochami"
# License
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/ochami/LICENSE"
# Completions
install -Dm644 "./completions/ochami.bash" "${pkgdir}/usr/share/bash-completion/completions/ochami"
install -Dm644 "./completions/ochami.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/ochami.fish"
install -Dm644 "./completions/ochami.zsh" "${pkgdir}/usr/share/zsh/site-functions/_ochami"
# Config
install -Dm644 "./doc/config.example.yaml" "${pkgdir}/usr/share/doc/ochami/config.example.yaml"
# Man pages
mkdir -p "${pkgdir}/usr/share/man/man1"
mkdir -p "${pkgdir}/usr/share/man/man5"
install -Dm644 ./man/*.1 "${pkgdir}/usr/share/man/man1/"
install -Dm644 ./man/*.5 "${pkgdir}/usr/share/man/man5/"
}
|