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

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 23 06:13:02 EDT 2013


    Date: Thursday, May 23, 2013 @ 12:13:02
  Author: spupykin
Revision: 91491

upgpkg: gramps 4.0.0-1

upd

Modified:
  gramps/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-23 10:12:55 UTC (rev 91490)
+++ PKGBUILD	2013-05-23 10:13:02 UTC (rev 91491)
@@ -5,7 +5,7 @@
 # Contributor: György Balló <ballogy at freestart.hu>
 
 pkgname=gramps
-pkgver=3.4.4
+pkgver=4.0.0
 pkgrel=1
 pkgdesc="A genealogy program, which helps you track your family tree"
 arch=('any')
@@ -13,7 +13,7 @@
 license=('GPL')
 depends=('pygtk' 'librsvg' 'desktop-file-utils' 'shared-mime-info'
 	 'gnome-icon-theme' 'xdg-utils' 'python2-bsddb')
-makedepends=('intltool')
+makedepends=('intltool' 'python2-distribute')
 optdepends=('python2-gnomevfs: mime functions support'
             'python2-gtkspell: spellchecking support'
             'pywebkitgtk: html rendering support'
@@ -23,18 +23,14 @@
 #            'pyexiv2: exif support'
 install=$pkgname.install
 source=(http://downloads.sourceforge.net/project/gramps/Stable/$pkgver/gramps-$pkgver.tar.gz)
-md5sums=('d136244db858573802a9f75d303e727d')
+md5sums=('5496375e5c78f8adc4e2714752cef717')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
-  sed -i "s|register('preferences.use-bsddb3', False)|register('preferences.use-bsddb3', True)|" src/config.py
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --disable-mime-install \
-              PYTHON=python2
-  make
+  python2 setup.py build
 }
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
+  python2 setup.py install --root=$pkgdir
 }



More information about the arch-commits mailing list