summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/python_modules/gnome-python/PKGBUILD31
1 files changed, 15 insertions, 16 deletions
diff --git a/abs/core/python_modules/gnome-python/PKGBUILD b/abs/core/python_modules/gnome-python/PKGBUILD
index 0c4a0b6..26fabe5 100644
--- a/abs/core/python_modules/gnome-python/PKGBUILD
+++ b/abs/core/python_modules/gnome-python/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 99639 2010-11-15 22:50:30Z ibiru $
+# $Id: PKGBUILD 148754 2012-02-05 11:49:16Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
pkgbase=gnome-python
-pkgname=('python2-bonobo' 'python2-gconf' 'python2-libgnome' 'python2-gnomecanvas' 'python2-gnomevfs' 'gnome-python')
+pkgname=('gnome-python' 'python2-bonobo' 'python2-gconf' 'python2-libgnome' 'python2-gnomecanvas' 'python2-gnomevfs')
pkgver=2.28.1
-pkgrel=5
-arch=('i686' 'x86_64')
+pkgrel=8
+arch=(i686 x86_64)
license=('LGPL')
makedepends=('pygtk' 'pyorbit' 'libgnomeui')
options=('!libtool')
@@ -16,13 +16,21 @@ sha256sums=('759ce9344cbf89cf7f8449d945822a0c9f317a494f56787782a901e4119b96d8')
build() {
cd "${srcdir}/gnome-python-${pkgver}"
- ./configure --prefix=/usr
+ PYTHON=python2 ./configure --prefix=/usr
make
}
+package_gnome-python() {
+ pkgdesc="PyGNOME Python extension module"
+ depends=('python2-bonobo' 'python2-gconf' 'python2-libgnome' 'python2-gnomecanvas' 'python2-gnomevfs')
+
+ cd "${srcdir}/gnome-python-${pkgver}"
+ make install-pkgconfigDATA DESTDIR="${pkgdir}"
+}
+
package_python2-bonobo(){
pkgdesc="Python bindings for interacting with Bonobo"
- depends=('pygtk' 'libbonoboui' 'pyorbit')
+ depends=('pygtk' 'libbonoboui' 'pyorbit' 'python2-gnomecanvas')
cd "${srcdir}/gnome-python-${pkgver}"
make -C bonobo install DESTDIR="${pkgdir}"
@@ -38,7 +46,7 @@ package_python2-gconf(){
package_python2-libgnome() {
pkgdesc="Python bindings for libgnome"
- depends=('pygtk' 'libgnomeui')
+ depends=('pygtk' 'libgnomeui' 'python2-gnomevfs' 'python2-gnomecanvas' 'python2-bonobo')
cd "${srcdir}/gnome-python-${pkgver}"
make -C gnome install DESTDIR="${pkgdir}"
@@ -59,12 +67,3 @@ package_python2-gnomevfs() {
cd "${srcdir}/gnome-python-${pkgver}"
make -C gnomevfs install DESTDIR="${pkgdir}"
}
-
-package_gnome-python() {
- pkgdesc="PyGNOME Python extension module"
- depends=('python2-bonobo' 'python2-gconf' 'python2-libgnome' 'python2-gnomecanvas' 'python2-gnomevfs')
-
- cd "${srcdir}/gnome-python-${pkgver}"
- make install-pkgconfigDATA DESTDIR="${pkgdir}"
-}
-