summaryrefslogtreecommitdiff
path: root/extra/libaccounts-glib
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-28 01:15:28 -0700
committerroot <root@rshg054.dnsready.net>2013-10-28 01:15:28 -0700
commit1a32448c2c53b0e66ce0fe14c5dd2057afd432bc (patch)
treed94819e60d05fada511b43feec6f7e46386a215a /extra/libaccounts-glib
parent2886140ddb1db32f36cb0b27e93888442a603a53 (diff)
Mon Oct 28 01:14:27 PDT 2013
Diffstat (limited to 'extra/libaccounts-glib')
-rw-r--r--extra/libaccounts-glib/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/libaccounts-glib/PKGBUILD b/extra/libaccounts-glib/PKGBUILD
new file mode 100644
index 000000000..9f802865d
--- /dev/null
+++ b/extra/libaccounts-glib/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 197625 2013-10-27 14:37:53Z andrea $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=libaccounts-glib
+pkgver=1.12
+pkgrel=1
+pkgdesc="Glib-based client library for accessing the online accounts database"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/accounts-sso/"
+license=('LGPL')
+depends=('dbus-glib' 'libxml2' 'sqlite3')
+makedepends=('python2-gobject')
+options=('!libtool')
+source=(http://accounts-sso.googlecode.com/files/$pkgname-$pkgver.tar.gz)
+sha1sums=('165e0b89a0bc47459711b1e7e077fb9e14848503')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static \
+ PYTHON=python2
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # Install GI overrides for python 3 as well
+ install -dm755 "$pkgdir/usr/lib/python3.3/site-packages/gi/overrides"
+ ln -s ../../../../python2.7/site-packages/gi/overrides/Accounts.py "$pkgdir/usr/lib/python3.3/site-packages/gi/overrides/Accounts.py"
+
+ # We don't have Backup Framework on Arch Linux
+ rm -r "$pkgdir/usr/share/backup-framework"
+}