[arch-commits] Commit in libaccounts-glib/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Tue Dec 31 16:07:56 UTC 2013


    Date: Tuesday, December 31, 2013 @ 17:07:56
  Author: andrea
Revision: 203005

upgpkg: libaccounts-glib 1.13-1

Upstream release; do not install gi for python3 (we build it with python2); build man pages

Modified:
  libaccounts-glib/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++--------------------
 1 file changed, 13 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-31 15:01:18 UTC (rev 203004)
+++ PKGBUILD	2013-12-31 16:07:56 UTC (rev 203005)
@@ -1,36 +1,29 @@
 # $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=libaccounts-glib
-pkgver=1.12
+pkgver=1.13
 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')
-source=(http://accounts-sso.googlecode.com/files/$pkgname-$pkgver.tar.gz)
-sha1sums=('165e0b89a0bc47459711b1e7e077fb9e14848503')
+depends=('dbus-glib' 'libxml2' 'sqlite')
+makedepends=('python2-gobject' 'docbook-xsl')
+source=("http://accounts-sso.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+sha1sums=('e6c4795a88f781e33035f9a6858a357930f7004f')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --disable-static \
-              PYTHON=python2
+  cd $pkgname-$pkgver
+  PYTHON=/usr/bin/python2 ./configure \
+    --prefix=/usr \
+    --disable-static \
+    --disable-gtk-doc
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
+  cd $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"
 }




More information about the arch-commits mailing list