summaryrefslogtreecommitdiff
path: root/extra/glade
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/glade
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/glade')
-rw-r--r--extra/glade/PKGBUILD26
-rw-r--r--extra/glade/glade.install12
2 files changed, 38 insertions, 0 deletions
diff --git a/extra/glade/PKGBUILD b/extra/glade/PKGBUILD
new file mode 100644
index 000000000..f5f96e94b
--- /dev/null
+++ b/extra/glade/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 44620 2009-07-02 21:38:57Z jgc $
+# 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)
+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')
+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')
+
+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
+}
diff --git a/extra/glade/glade.install b/extra/glade/glade.install
new file mode 100644
index 000000000..bce670aff
--- /dev/null
+++ b/extra/glade/glade.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}