summaryrefslogtreecommitdiff
path: root/gnome-unstable/pygobject
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/pygobject')
-rw-r--r--gnome-unstable/pygobject/PKGBUILD58
1 files changed, 0 insertions, 58 deletions
diff --git a/gnome-unstable/pygobject/PKGBUILD b/gnome-unstable/pygobject/PKGBUILD
deleted file mode 100644
index c42b7ba78..000000000
--- a/gnome-unstable/pygobject/PKGBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# $Id: PKGBUILD 169075 2012-10-17 17:43:30Z heftig $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
-
-pkgbase=pygobject
-pkgname=(python-gobject python2-gobject pygobject-devel)
-pkgver=3.4.1.1
-pkgrel=1
-arch=('i686' 'x86_64')
-url="https://live.gnome.org/PyGObject"
-license=('LGPL')
-makedepends=('python' 'python2' 'python-cairo' 'python2-cairo' 'gobject-introspection')
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver::3}/$pkgbase-$pkgver.tar.xz)
-options=('!libtool')
-sha256sums=('dbcff64a641b4eb251a3ca72c782c8a2318c3bbf4a31bffc40446e15111e6017')
-
-build() {
- cp -a "$pkgbase-$pkgver" python2-build
- mkdir devel
-
- (
- cd python2-build
- export PYTHON=/usr/bin/python2
- ./configure --prefix=/usr
- make
- )
-
- (
- cd "$pkgbase-$pkgver"
- ./configure --prefix=/usr
- make
- )
-}
-
-package_python-gobject() {
- pkgdesc="Python 3 bindings for GObject"
- depends=('gobject-introspection' 'python-cairo' "pygobject-devel=$pkgver")
-
- cd "$pkgbase-$pkgver"
- make DESTDIR="$pkgdir" install
- rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
-}
-
-package_python2-gobject() {
- pkgdesc="Python 2 bindings for GObject"
- depends=('gobject-introspection' 'python2-cairo' "pygobject-devel=$pkgver")
-
- cd "python2-build"
- make DESTDIR="$pkgdir" install
- mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
-}
-
-package_pygobject-devel() {
- pkgdesc="Development files for the pygobject bindings"
- cd "devel"
- mkdir -p "$pkgdir"/usr/{include,lib}
- mv include "$pkgdir/usr/"
- mv pkgconfig "$pkgdir/usr/lib/"
-}