blob: 64b922c39f6011ee7ad45a3ac64bfebf57cdeb3b (
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
|
# Maintainer: Ns2Kracy <2220496937@qq.com>
# Maintainer: CorrectRoadH <correctroadh@gmail.com>
pkgname=casaos-cli
pkgver=0.4.4
pkgrel=1
pkgdesc='A command-line tool to interact with CasaOS for testing and diagnosing purpose'
arch=('x86_64' 'aarch64' 'armv7h')
url='https://github.com/IceWhaleTech/CasaOS-CLI'
license=('APACHE')
groups=('casaos')
source_x86_64=(
${url}/releases/download/v${pkgver}/linux-amd64-${pkgname}-v${pkgver}.tar.gz
)
source_aarch64=(
${url}/releases/download/v${pkgver}/linux-arm64-${pkgname}-v${pkgver}.tar.gz
)
source_armv7h=(
${url}/releases/download/v${pkgver}/linux-arm-7-${pkgname}-v${pkgver}.tar.gz
)
sha256sums_x86_64=(SKIP)
sha256sums_aarch64=(SKIP)
sha256sums_armv7h=(SKIP)
package() {
_sysdir="${srcdir}/build/sysroot"
install -Dm755 "${_sysdir}/usr/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${_sysdir}/etc/bash_completion.d/${pkgname}-completion" "${pkgdir}/etc/bash_completion.d/${pkgname}-completion"
}
|