blob: 65529eb3331691c02059a80808206d369a0c5458 (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Carlos A Becker <carlos@charm.sh>
pkgname='melt-bin'
pkgver=0.6.2
pkgrel=1
pkgdesc='Backup and restore Ed25519 SSH keys with seed words'
url='https://charm.sh/'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
license=('MIT')
provides=('melt')
conflicts=('melt')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/charmbracelet/melt/releases/download/v0.6.2/melt_0.6.2_Linux_arm64.tar.gz")
sha256sums_aarch64=('12cdf4ee09b5fea8bba9388495912c19c784c844f407dddadb86e1d2b7b63acd')
source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/charmbracelet/melt/releases/download/v0.6.2/melt_0.6.2_Linux_armv7.tar.gz")
sha256sums_armv7h=('deaa82d0ba3e8cf67e3ea9e1ad4cd2267f80bbe23d9ec854e628004915c72d24')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/charmbracelet/melt/releases/download/v0.6.2/melt_0.6.2_Linux_i386.tar.gz")
sha256sums_i686=('b3660a496b04b63fb7765d1f78666aef0330e01a3b13317e735ab0f1fa6e6e77')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/charmbracelet/melt/releases/download/v0.6.2/melt_0.6.2_Linux_x86_64.tar.gz")
sha256sums_x86_64=('82f543dcade2244a86196a506a28dcd41b55d5e0be71d692d291fc4f6803ac82')
package() {
cd "${srcdir}/melt_${pkgver}_Linux_${CARCH}"
# bin
install -Dm755 "./melt" "${pkgdir}/usr/bin/melt"
# license
mkdir -p "${pkgdir}/usr/share/licenses/melt/"
install -Dm644 ./LICENSE* "${pkgdir}/usr/share/licenses/melt/"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
install -Dm644 "./completions/melt.bash" "${pkgdir}/usr/share/bash-completion/completions/melt"
install -Dm644 "./completions/melt.zsh" "${pkgdir}/usr/share/zsh/site-functions/_melt"
install -Dm644 "./completions/melt.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/melt.fish"
# man pages
install -Dm644 "./manpages/melt.1.gz" "${pkgdir}/usr/share/man/man1/melt.1.gz"
# readme
mkdir -pv "${pkgdir}/usr/share/doc/melt/"
install -Dm644 README* "${pkgdir}/usr/share/doc/melt/"
}
|