summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fd26976d7b80699a41d71118e38361bdecc862ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Michael Hauser-Raspe
pkgname=astro-cli
pkgver=v1.14.1
pkgrel=1
pkgdesc="The Astronomer CLI can be used to build Airflow DAGs locally and run them via docker-compose, as well as to deploy those DAGs to Astronomer-managed Airflow clusters and interact with the Astronomer API in general."
arch=('x86_64')
url="https://github.com/astronomer/astro-cli"
license=('Apache')
makedepends=('tar')
provides=('astro')
source=("https://github.com/astronomer/$pkgname/releases/download/$pkgver/astro_${pkgver/v/}_linux_amd64.tar.gz")
sha256sums=('bef39af38a3caba584575e8d9e8185972c8b509354c0469a02ff6b581ce7cfec')

package() {
  cd "$srcdir"
  tar xvfz astro_${pkgver/v/}_linux_amd64.tar.gz
  mkdir -p $pkgdir/usr/local/bin/
  mv astro $pkgdir/usr/local/bin/
}