From c7cb603f86b4d4fb6567e3faa15b916a306f7004 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 3 Apr 2012 00:01:35 +0000 Subject: Tue Apr 3 00:01:35 UTC 2012 --- testing/glade/PKGBUILD | 29 +++++++++++++++++++++++++++++ testing/glade/glade.install | 12 ++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 testing/glade/PKGBUILD create mode 100644 testing/glade/glade.install (limited to 'testing/glade') diff --git a/testing/glade/PKGBUILD b/testing/glade/PKGBUILD new file mode 100644 index 000000000..43731b0de --- /dev/null +++ b/testing/glade/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 155088 2012-04-01 11:32:32Z heftig $ +# Maintainer: Douglas Soares de Andrade + +pkgname=glade +pkgver=3.12.0 +pkgrel=1 +pkgdesc="User interface builder for GTK+ and GNOME." +arch=(i686 x86_64) +license=('GPL' 'LGPL') +depends=('gtk3' 'libxml2' 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('intltool' 'python2' 'gtk-doc' 'gobject-introspection' 'python2-gobject') +optdepends=('python2: Python widgets support') +options=('!libtool') +url="http://glade.gnome.org/" +install=glade.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('70a820a0007fa3ed7761c92b011fe35ac1532038cab2f9ab30f4d29d5799d44d') + +build() { + cd "$pkgname-$pkgver" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/testing/glade/glade.install b/testing/glade/glade.install new file mode 100644 index 000000000..bce670aff --- /dev/null +++ b/testing/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 +} -- cgit v1.2.3-54-g00ecf