diff options
Diffstat (limited to 'community/libaccounts-glib/PKGBUILD')
-rw-r--r-- | community/libaccounts-glib/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/libaccounts-glib/PKGBUILD b/community/libaccounts-glib/PKGBUILD new file mode 100644 index 000000000..3a0fed574 --- /dev/null +++ b/community/libaccounts-glib/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 92686 2013-06-12 04:53:53Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=libaccounts-glib +pkgver=1.11 +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=('467480fc800c6d22d8d53373f67d49f8a1e4d970') + +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" +} |