From 9e9ab642711f2424f828e21d14b98c45cdef2b29 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Dec 2011 23:14:46 +0000 Subject: Thu Dec 1 23:14:46 UTC 2011 --- community-testing/glom/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ community-testing/glom/glom.install | 15 +++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 community-testing/glom/PKGBUILD create mode 100644 community-testing/glom/glom.install (limited to 'community-testing/glom') diff --git a/community-testing/glom/PKGBUILD b/community-testing/glom/PKGBUILD new file mode 100644 index 000000000..49a10f1cc --- /dev/null +++ b/community-testing/glom/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 59793 2011-11-30 10:06:16Z heftig $ +# Maintainer: Roman Kyrylych +# Contributor: William Rea +# Contributor: Jaroslav Lichtblau + +pkgname=glom +pkgver=1.20.1 +pkgrel=1 +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=('c76edc09d767eb2de8673fa8bb1cebbf8863fb3c8eb365e4a42fc430730f68d5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + + ./configure --prefix=/usr \ + --with-postgres-utils=/usr/bin \ + --disable-scrollkeeper \ + --disable-update-mime-database \ + --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community-testing/glom/glom.install b/community-testing/glom/glom.install new file mode 100644 index 000000000..1ad77f9aa --- /dev/null +++ b/community-testing/glom/glom.install @@ -0,0 +1,15 @@ +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 $1 +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null +} -- cgit v1.2.3-54-g00ecf