summaryrefslogtreecommitdiff
path: root/extra/glade
diff options
context:
space:
mode:
Diffstat (limited to 'extra/glade')
-rw-r--r--extra/glade/PKGBUILD35
1 files changed, 19 insertions, 16 deletions
diff --git a/extra/glade/PKGBUILD b/extra/glade/PKGBUILD
index 7c934386d..56daf1721 100644
--- a/extra/glade/PKGBUILD
+++ b/extra/glade/PKGBUILD
@@ -1,26 +1,29 @@
-# $Id: PKGBUILD 44620 2009-07-02 21:38:57Z jgc $
+# $Id: PKGBUILD 118419 2011-04-06 17:54:27Z ibiru $
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=glade
-pkgver=3.6.7
-pkgrel=1
-pkgdesc="user interface builder for GTK+ and GNOME."
-arch=(i686 x86_64 'mips64el')
+pkgver=3.10.0
+pkgrel=2
+pkgdesc="User interface builder for GTK+ and GNOME."
+arch=(i686 x86_64 mips64el)
license=('GPL' 'LGPL')
-depends=('gtk2>=2.16.2' 'libxml2>=2.6.32' 'desktop-file-utils')
-makedepends=('intltool' 'pkgconfig' 'python>=2.6' 'libgnomeui>=2.24.1' 'gtk-doc')
-optdepends=('libgnomeui: GNOME UI widgets'
- 'python: Python widgets support')
+depends=('gtk3' 'libxml2' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('intltool' 'python2' 'gtk-doc' 'gobject-introspection' 'pygobject-devel')
+optdepends=('python2: Python widgets support')
options=('!libtool')
url="http://glade.gnome.org/"
install=glade.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/glade3/3.6/glade3-${pkgver}.tar.bz2)
-md5sums=('0fbe06e4babb2adeaf9725577ff43395')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('7e6a1423f1697d8b40618d0b01f0ebff572ccb80f5818a36af0971c5d1d94253')
build() {
- cd "${srcdir}/glade3-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ cd "${srcdir}/$pkgname-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/$pkgname-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}