summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Brown2020-05-01 08:35:40 -0700
committerBen Denhartog2020-05-01 18:21:21 -0700
commit75adc8d7700eeabdd713d0c09929e2e1af54f983 (patch)
tree3c28856b537380906a055a3f81d4c87de00cd274
downloadaur-75adc8d7700eeabdd713d0c09929e2e1af54f983.tar.gz
feat: add package google-cloud-sdk-app-engine-python
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD38
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..46f1075ec07
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = google-cloud-sdk-app-engine-python
+ pkgdesc = A google-cloud-sdk component that provides the Python runtime for AppEngine.
+ pkgver = 290.0.1
+ pkgrel = 1
+ url = https://cloud.google.com/sdk/
+ arch = x86_64
+ license = Apache
+ depends = google-cloud-sdk=290.0.1
+ depends = python2
+ options = !strip
+ source = https://dl.google.com/dl/cloudsdk/release/downloads/for_packagers/linux/google-cloud-sdk-app-engine-python_290.0.1.orig.tar.gz
+ sha256sums = 0937c26ab56e7d47d0781c274e92fd985b6f02d7c08be28c4562557d258d7ff9
+
+pkgname = google-cloud-sdk-app-engine-python
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..72bc21984a3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Benjamin Denhartog <ben@sudoforge.com>
+# Contributor: Tim Brown <stimut@gmail.com>
+
+pkgname=google-cloud-sdk-app-engine-python
+pkgver=290.0.1
+pkgrel=1
+pkgdesc="A google-cloud-sdk component that provides the Python runtime for AppEngine."
+url="https://cloud.google.com/sdk/"
+license=("Apache")
+arch=('x86_64')
+options=('!strip')
+depends=(
+ "google-cloud-sdk=${pkgver}"
+ "python2"
+)
+source=(
+ "https://dl.google.com/dl/cloudsdk/release/downloads/for_packagers/linux/${pkgname}_${pkgver}.orig.tar.gz"
+)
+sha256sums=('0937c26ab56e7d47d0781c274e92fd985b6f02d7c08be28c4562557d258d7ff9')
+
+package() {
+ mkdir "${pkgdir}/opt"
+
+ # Install the component manifest file
+ install -D -m 0644 \
+ "${srcdir}/google-cloud-sdk/.install/app-engine-python.manifest" \
+ "${pkgdir}/opt/google-cloud-sdk/.install/app-engine-python.manifest"
+
+ # Install the component metadata snapshot file
+ install -D -m 0644 \
+ "${srcdir}/google-cloud-sdk/.install/app-engine-python.snapshot.json" \
+ "${pkgdir}/opt/google-cloud-sdk/.install/app-engine-python.snapshot.json"
+
+ # Install the component files
+ cp -R \
+ "${srcdir}/google-cloud-sdk/platform/google_appengine" \
+ "${pkgdir}/opt/google-cloud-sdk/platform/google_appengine"
+}