blob: c6cc8fccb6d6a1a1bef2e1fdab78d75b02e564d7 (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Julian Tölle <julian.toelle97@gmail.com>
pkgname='hcloud-upload-image-bin'
pkgver=0.3.0
pkgrel=1
pkgdesc='Manage custom OS images on Hetzner Cloud.'
url='https://github.com/apricote/hcloud-upload-image'
arch=('aarch64' 'i686' 'x86_64')
license=('MIT')
provides=('hcloud-upload-image')
conflicts=('hcloud-upload-image')
depends=('openssh')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/apricote/hcloud-upload-image/releases/download/v0.3.0/hcloud-upload-image_Linux_arm64.tar.gz")
sha256sums_aarch64=('a6b28433f9f3ee43122c7c288760e2c107ac8d92183f96086cf5a59affed3bbd')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/apricote/hcloud-upload-image/releases/download/v0.3.0/hcloud-upload-image_Linux_i386.tar.gz")
sha256sums_i686=('68f92aea8226f1f40bd8b4b240dd1c2b7d69d981250d154aeb46cc9029b8d5d0')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/apricote/hcloud-upload-image/releases/download/v0.3.0/hcloud-upload-image_Linux_x86_64.tar.gz")
sha256sums_x86_64=('9ba2dcfd95399770270b4f367166da6e7e7766306d8c81754a1fc1c81779ca2e')
package() {
# bin
install -Dm755 "./hcloud-upload-image" "${pkgdir}/usr/bin/hcloud-upload-image"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/hcloud-upload-image/LICENSE"
# 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/hcloud-upload-image.bash" "${pkgdir}/usr/share/bash-completion/completions/hcloud-upload-image"
install -Dm644 "./completions/hcloud-upload-image.zsh" "${pkgdir}/usr/share/zsh/site-functions/_hcloud-upload-image"
install -Dm644 "./completions/hcloud-upload-image.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/hcloud-upload-image.fish"
}
|