summaryrefslogtreecommitdiff
path: root/community-testing/glom
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-05 00:01:22 +0000
committerroot <root@rshg054.dnsready.net>2012-03-05 00:01:22 +0000
commit11711de1942a141f28faef695c4c78c8357fbf23 (patch)
tree363a8b5d445b8eb1dcee4263b5f06d2fe307678f /community-testing/glom
parentf0fa42126da9e3eec6b98388b35c67929fa20dae (diff)
Mon Mar 5 00:01:22 UTC 2012
Diffstat (limited to 'community-testing/glom')
-rw-r--r--community-testing/glom/PKGBUILD35
-rw-r--r--community-testing/glom/glom.install15
2 files changed, 50 insertions, 0 deletions
diff --git a/community-testing/glom/PKGBUILD b/community-testing/glom/PKGBUILD
new file mode 100644
index 000000000..f90bc5f8e
--- /dev/null
+++ b/community-testing/glom/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 66992 2012-03-03 08:11:43Z ibiru $
+# 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.4
+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' 'python2-sphinx' 'boost')
+options=('!libtool')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/glom/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('038d106313774832c56c61312bb387a54cd2ffff50e6c7e56e47bc98b8b8531b')
+
+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
+}