aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD33
-rw-r--r--goobook.install16
3 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..6e937d5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 14:57:17 UTC 2015
+pkgbase = goobook-git
+ pkgdesc = Search your google contacts from the command-line or mutt
+ pkgver = 1.2.r102.gd2859e7
+ pkgrel = 1
+ url = http://goobook.googlecode.com/
+ install = goobook.install
+ arch = any
+ license = GPL
+ makedepends = git
+ makedepends = python2-setuptools
+ depends = python2
+ depends = python2-gdata>=2.0.7
+ depends = python2-setuptools
+ depends = python2-simplejson
+ depends = python2-hcs_utils>=1.3
+ depends = python2-keyring
+ depends = python2-six
+ provides = goobook
+ conflicts = goobook
+ source = goobook::git://gitorious.org/goobook/mainline.git
+ md5sums = SKIP
+
+pkgname = goobook-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..f605e44
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+pkgname=goobook-git
+pkgver=1.2.r102.gd2859e7
+pkgrel=1
+
+pkgdesc="Search your google contacts from the command-line or mutt"
+url="http://goobook.googlecode.com/"
+arch=('any')
+license=('GPL')
+
+conflicts=('goobook')
+provides=('goobook')
+
+depends=('python2' 'python2-gdata>=2.0.7' 'python2-setuptools'
+ 'python2-simplejson' 'python2-hcs_utils>=1.3'
+ 'python2-keyring' 'python2-six')
+makedepends=('git' 'python2-setuptools')
+
+install=goobook.install
+
+source=('goobook::git://gitorious.org/goobook/mainline.git')
+md5sums=('SKIP')
+
+
+pkgver() {
+ cd goobook
+ git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+package() {
+ cd goobook
+ sed -ie '58s/distribute/setuptools/' setup.py
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
diff --git a/goobook.install b/goobook.install
new file mode 100644
index 0000000..546fa88
--- /dev/null
+++ b/goobook.install
@@ -0,0 +1,16 @@
+## arg 1: the new package version
+post_install() {
+cat <<End-of-message
+
+ Configuration: For most users it will be enough to add an entry to your .netrc:
+ machine google.com
+ login your@google.email
+ password secret
+
+ To get access to more settings you can create a .goobookrc in your home directory:
+ (You can print a template to STDOUT with 'goobook config-template')
+
+ If you are upgrading from an older version, delete .goobook_cache and run 'goobook reload' to regenerate the cache. The cache format has changed.
+
+End-of-message
+}