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

Sergej Pupykin spupykin at nymeria.archlinux.org
Fri May 24 07:00:31 EDT 2013


    Date: Friday, May 24, 2013 @ 13:00:31
  Author: spupykin
Revision: 91572

upgpkg: gramps 1:3.4.5-2

upd

Modified:
  gramps/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-24 10:38:43 UTC (rev 91571)
+++ PKGBUILD	2013-05-24 11:00:31 UTC (rev 91572)
@@ -5,7 +5,8 @@
 # Contributor: György Balló <ballogy at freestart.hu>
 
 pkgname=gramps
-pkgver=4.0.0
+epoch=1
+pkgver=3.4.5
 pkgrel=2
 pkgdesc="A genealogy program, which helps you track your family tree"
 arch=('any')
@@ -13,7 +14,7 @@
 license=('GPL')
 depends=('pygtk' 'librsvg' 'desktop-file-utils' 'shared-mime-info'
 	 'gnome-icon-theme' 'xdg-utils' 'python2-bsddb')
-makedepends=('intltool' 'python2-distribute')
+makedepends=('intltool')
 optdepends=('python2-gnomevfs: mime functions support'
             'python2-gtkspell: spellchecking support'
             'pywebkitgtk: html rendering support'
@@ -23,15 +24,18 @@
 #            'pyexiv2: exif support'
 install=$pkgname.install
 source=(http://downloads.sourceforge.net/project/gramps/Stable/$pkgver/gramps-$pkgver.tar.gz)
-md5sums=('5496375e5c78f8adc4e2714752cef717')
+md5sums=('db576b40dcef5bc45390c45aa4d40367')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
-  python2 setup.py build
+  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
 }
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
-  python2 setup.py install --root=$pkgdir
-  echo '/usr/share' >$pkgdir/usr/lib/python2.7/site-packages/gramps/gen/utils/resource-path
+  make DESTDIR="$pkgdir/" install
 }



More information about the arch-commits mailing list