From 6f492df5ae2ab0d2bd117d6f1c458d52e2e24585 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Jul 2012 00:02:00 +0000 Subject: Mon Jul 9 00:02:00 UTC 2012 --- community-staging/glom/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ community-staging/glom/glom.install | 13 +++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 community-staging/glom/PKGBUILD create mode 100644 community-staging/glom/glom.install (limited to 'community-staging/glom') diff --git a/community-staging/glom/PKGBUILD b/community-staging/glom/PKGBUILD new file mode 100644 index 000000000..8947063e6 --- /dev/null +++ b/community-staging/glom/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 73448 2012-07-07 19:54:15Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau +# Contributor: Roman Kyrylych +# Contributor: William Rea +# Contributor: Jaroslav Lichtblau + +pkgname=glom +pkgver=1.22.0 +pkgrel=2 +pkgdesc="An easy-to-use database designer and user interface" +arch=('i686' 'x86_64') +url="http://www.glom.org/" +license=('GPL') +depends=('gettext' 'boost-libs' 'libgdamm' 'libxml++' 'python2-gobject' 'libepc' 'goocanvasmm' 'gtksourceviewmm' 'evince' 'postgresql') +makedepends=('intltool' 'gnome-doc-utils' 'python-sphinx' 'boost') +options=('!libtool') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/glom/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('e6ce1b0c76cec8c85beba4900a80f257de3cc23a2c65908262fd8be87c2e546a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --with-postgres-utils=/usr/bin \ + --disable-scrollkeeper \ + --disable-update-mime-database \ + --disable-static \ + PYTHON=python2 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} diff --git a/community-staging/glom/glom.install b/community-staging/glom/glom.install new file mode 100644 index 000000000..2b88145e3 --- /dev/null +++ b/community-staging/glom/glom.install @@ -0,0 +1,13 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf