summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hauser-Raspe2021-10-15 17:54:10 +0100
committerMichael Hauser-Raspe2021-10-15 18:04:13 +0100
commit78e4cd9833efafccfb16e2b326732c26ed913d81 (patch)
tree80f62a39453e1c5646df3b38309afb5a8722a007
downloadaur-78e4cd9833efafccfb16e2b326732c26ed913d81.tar.gz
Create astro-cli PKGBUILD and add srcinfo.
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD19
2 files changed, 32 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4b89303aaeb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = astro-cli
+ 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.
+ pkgver = v0.26.0
+ pkgrel = 1
+ url = https://github.com/astronomer/astro-cli
+ arch = x86_64
+ license = Apache
+ makedepends = tar
+ provides = astro
+ source = https://github.com/astronomer/astro-cli/releases/download/v0.26.0/astro_0.26.0_linux_amd64.tar.gz
+ sha256sums = e6553794e3807e3ef7e6bfed8775a5c2809037ed103e7e50f96635cb71bc259b
+
+pkgname = astro-cli
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d32466773b8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Michael Hauser-Raspe
+pkgname=astro-cli
+pkgver=v0.26.0
+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=('e6553794e3807e3ef7e6bfed8775a5c2809037ed103e7e50f96635cb71bc259b')
+
+package() {
+ cd "$srcdir"
+ tar xvfz astro_${pkgver/v/}_linux_amd64.tar.gz
+ mkdir -p $pkgdir/usr/local/bin/
+ mv astro $pkgdir/usr/local/bin/
+}