summaryrefslogtreecommitdiff
path: root/community-staging/glom
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-28 23:14:56 +0000
committerroot <root@rshg054.dnsready.net>2011-11-28 23:14:56 +0000
commit83c3c42a38bda36bdc56d594318958bc4cfd9b32 (patch)
tree7f61d219016bca3c90771ae5681a2ceeb149ed22 /community-staging/glom
parent495674534c45d86d3ad9149cdba75ca0bbbe1a0e (diff)
Mon Nov 28 23:14:56 UTC 2011
Diffstat (limited to 'community-staging/glom')
-rw-r--r--community-staging/glom/PKGBUILD35
-rw-r--r--community-staging/glom/glom.install15
2 files changed, 50 insertions, 0 deletions
diff --git a/community-staging/glom/PKGBUILD b/community-staging/glom/PKGBUILD
new file mode 100644
index 000000000..d96aef193
--- /dev/null
+++ b/community-staging/glom/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 59510 2011-11-27 15:05:04Z heftig $
+# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+pkgname=glom
+pkgver=1.20.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=('047ce7bd6e5a0214f6f49cad15cc0ee1d2e8eeb61462e094328ed32676c15e5b')
+
+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-staging/glom/glom.install b/community-staging/glom/glom.install
new file mode 100644
index 000000000..1ad77f9aa
--- /dev/null
+++ b/community-staging/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
+}