blob: c358324e977e4303d3f7c6a48a2d1f151333b1a1 (
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
|
# Maintainer: Avelino <t AT avelino DOT xxx>
pkgname=ritchie-cli
pkgver=2.11.3
pkgrel=1
pkgdesc="Ritchie CLI is an open-source tool that allows to create, store and share any kind of automation, executing them through command lines, to run operations or start workflows"
arch=('any')
url="https://ritchiecli.io/"
license=("Apache License 2.0")
makedepends=("go")
provides=("ZupIT")
source=(
"https://github.com/ZupIT/ritchie-cli/archive/${pkgver}.tar.gz"
)
sha256sums=("SKIP")
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -pv build/
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
go mod download
make build-linux
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dpm755 -D "dist/linux/rit" "${pkgdir}/usr/local/bin/${pkgname}"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|