summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Brown2020-05-01 08:36:32 -0700
committerBen Denhartog2020-05-01 18:21:21 -0700
commitaa78204902a5fb17b6e764d1a18ae4a879c6b1be (patch)
treea71cbe166291c7de87570cab273e4aec9860bdbd
downloadaur-aa78204902a5fb17b6e764d1a18ae4a879c6b1be.tar.gz
feat: add package google-cloud-sdk-app-engine-python-extras
-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..45e45da8e64
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = google-cloud-sdk-app-engine-python-extras
+ pkgdesc = A google-cloud-sdk component that provides extra libraries for 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 = google-cloud-sdk-app-engine-python=290.0.1
+ options = !strip
+ source = https://dl.google.com/dl/cloudsdk/release/downloads/for_packagers/linux/google-cloud-sdk-app-engine-python-extras_290.0.1.orig.tar.gz
+ sha256sums = b6a16aa3186539ee813bec73dc15d912e553ec5eb8365ddb403a4e67dbd914b8
+
+pkgname = google-cloud-sdk-app-engine-python-extras
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..db5b76f5c53
--- /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-extras
+pkgver=290.0.1
+pkgrel=1
+pkgdesc="A google-cloud-sdk component that provides extra libraries for the Python runtime for AppEngine."
+url="https://cloud.google.com/sdk/"
+license=("Apache")
+arch=('x86_64')
+options=('!strip')
+depends=(
+ "google-cloud-sdk=${pkgver}"
+ "google-cloud-sdk-app-engine-python=${pkgver}"
+)
+source=(
+ "https://dl.google.com/dl/cloudsdk/release/downloads/for_packagers/linux/${pkgname}_${pkgver}.orig.tar.gz"
+)
+sha256sums=('b6a16aa3186539ee813bec73dc15d912e553ec5eb8365ddb403a4e67dbd914b8')
+
+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"
+}