summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cornwall2020-05-06 14:11:10 -0700
committerBrett Cornwall2020-05-06 14:11:10 -0700
commit86ae9979deff5f816463fd4c7f8adefd9e580cb1 (patch)
treed40857d8de3915d01c025c8dd56caebb9c42a5d7
parent072124fdc8c6d05ce9d525885e6e20d4bad1a5aa (diff)
downloadaur-86ae9979deff5f816463fd4c7f8adefd9e580cb1.tar.gz
upgpkg: 5.07
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD18
-rw-r--r--xdg_config_dirs.patch4
3 files changed, 16 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 27b8cb455fd..81dd770762e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gam
pkgdesc = Command-line tool for Google GSuite admins to manage settings quickly and easily
- pkgver = 5.05
+ pkgver = 5.07
pkgrel = 1
url = https://github.com/jay0lee/GAM
arch = any
@@ -14,11 +14,11 @@ pkgbase = gam
depends = python-google-auth-oauthlib
depends = python-httplib2
depends = python-passlib
- source = gam-5.05.tar.gz::https://github.com/jay0lee/GAM/archive/v5.05.tar.gz
+ source = gam-5.07.tar.gz::https://github.com/jay0lee/GAM/archive/v5.07.tar.gz
source = xdg_config_dirs.patch
source = gam.sh
- sha256sums = 5fb3ff618f8bd4c7c5caaa9612660f22a8074eff3e4c19adad62e55bff04e122
- sha256sums = 202e3566d837c37526174fb6311232c06d90e3786578668aa58ef3eb0648054a
+ sha256sums = 7508661f12ea1c89b117afb38c956f5ec5cbb96dc51b5a82315ce56a5d89176e
+ sha256sums = 3e1dcfd32d3635143c220b07752c46af523b6a875b80f01108a43144669dec2a
sha256sums = f8613546b8d4a51f05342d3680553c20a2e0995c3be90e469f1da3bb83ca172e
pkgname = gam
diff --git a/PKGBUILD b/PKGBUILD
index 356cc92d86a..a2d9a0e7878 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Ethan Schoonover
pkgname=gam
-pkgver=5.05
+pkgver=5.07
pkgrel=1
pkgdesc="Command-line tool for Google GSuite admins to manage settings quickly and easily"
arch=('any')
@@ -26,8 +26,8 @@ source=(
"gam.sh"
)
-sha256sums=('5fb3ff618f8bd4c7c5caaa9612660f22a8074eff3e4c19adad62e55bff04e122'
- '202e3566d837c37526174fb6311232c06d90e3786578668aa58ef3eb0648054a'
+sha256sums=('7508661f12ea1c89b117afb38c956f5ec5cbb96dc51b5a82315ce56a5d89176e'
+ '3e1dcfd32d3635143c220b07752c46af523b6a875b80f01108a43144669dec2a'
'f8613546b8d4a51f05342d3680553c20a2e0995c3be90e469f1da3bb83ca172e')
prepare() {
@@ -42,16 +42,18 @@ package() {
touch "$pkgdir/etc/$pkgname/noupdatecheck.txt"
touch "$pkgdir/etc/$pkgname/nobrowser.txt"
- for file in controlflow display fileutils transport utils var; do
- install -Dm644 "$pkgname-$pkgver/src/$file.py" \
- -t "$pkgdir/usr/share/$pkgname/"
- done
+ mkdir -p "$pkgdir/usr/share/$pkgname"
+
+ cp -r "$pkgname-$pkgver"/src/gam/ "$pkgdir/usr/share/$pkgname"
+
+ # Upstream wants to insert themselves into every facet of where they should not be.
+ touch "$pkgdir/usr/share/$pkgname/gam/noupdatecheck.txt"
- cp -r "$pkgname-$pkgver"/src/{auth,gapi} "$pkgdir/usr/share/$pkgname"
find "$pkgdir/usr/share/$pkgname" -type f -exec chmod 644 {} +
find "$pkgdir/usr/share/$pkgname" -type d -exec chmod 755 {} +
find "$pkgdir/usr/share/$pkgname" -name '*_test.py' -exec rm {} +
install -Dm755 "$pkgname-$pkgver/src/gam.py" -t "$pkgdir/usr/share/$pkgname/"
install -Dm755 gam.sh "$pkgdir/usr/bin/gam"
+
}
diff --git a/xdg_config_dirs.patch b/xdg_config_dirs.patch
index efeb12c9046..af914a84162 100644
--- a/xdg_config_dirs.patch
+++ b/xdg_config_dirs.patch
@@ -1,5 +1,5 @@
---- src/var.py 2019-05-01 22:06:05.334383160 -0600
-+++ src/var.py 2019-05-01 22:09:01.646756561 -0600
+--- src/gam/var.py 2019-05-01 22:06:05.334383160 -0600
++++ src/gam/var.py 2019-05-01 22:09:01.646756561 -0600
@@ -20,6 +20,19 @@
GAM_LATEST_RELEASE = GAM_ALL_RELEASES+'/latest'
GAM_PROJECT_APIS = 'https://raw.githubusercontent.com/jay0lee/GAM/master/src/project-apis.txt'