summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Schoonover (altercation)2015-08-18 16:17:30 +0200
committerEthan Schoonover (altercation)2015-08-18 16:17:30 +0200
commitbbc9eaba1b610f9e52bde2bf3f986aacbfe67d6e (patch)
treeee8522a0cac71f0c44dba51cb6f247b7108309d6
downloadaur-bbc9eaba1b610f9e52bde2bf3f986aacbfe67d6e.tar.gz
initial commit of new aur package for gam
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD35
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cc88a87a764
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = gam
+ pkgdesc = CLI frontend to Google Apps Provisioning API
+ pkgver = 3.51
+ pkgrel = 1
+ url = http://code.google.com/p/google-apps-manager/
+ arch = any
+ license = Apache
+ makedepends = unzip
+ depends = python2
+ noextract = v3.51.tar.gz
+ source = https://github.com/jay0lee/GAM/archive/v3.51.tar.gz
+ md5sums = 0ab658cb70b375a4634d477edcd02123
+
+pkgname = gam
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eb4bc754117
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Ethan Schoonover <es@ethanschoonover.com> @ethanschoonover IRC/BBS/AUR:altercation
+
+pkgname=gam
+pkgver=3.51
+pkgrel=1
+holdver=$pkgver
+pkgdesc="CLI frontend to Google Apps Provisioning API"
+arch=('any')
+url="http://code.google.com/p/google-apps-manager/"
+license=('Apache')
+depends=('python2')
+makedepends=('unzip')
+optdepends=()
+provides=()
+source=("https://github.com/jay0lee/GAM/archive/v${pkgver}.tar.gz")
+noextract=("v${pkgver}.tar.gz")
+md5sums=('0ab658cb70b375a4634d477edcd02123')
+
+build() {
+ cd $srcdir
+ mkdir build
+ tar --gzip --extract --overwrite --strip-components=1 --directory=build --file=v${pkgver}.tar.gz
+}
+
+package() {
+ cd "${srcdir}/build"
+ install -d ${pkgdir}/opt/${pkgname}
+ install -d ${pkgdir}/usr/bin
+ touch ${pkgdir}/opt/${pkgname}/noupdatecheck.txt
+ touch ${pkgdir}/opt/${pkgname}/nobrowser.txt
+ cp -af * ${pkgdir}/opt/${pkgname}/
+ echo "python2 /opt/${pkgname}/gam.py \"\$@\"" > ${pkgdir}/usr/bin/gam
+ chmod 0755 ${pkgdir}/usr/bin/gam
+ rm -rf ../build
+}