summaryrefslogtreecommitdiff
path: root/community-staging/glom
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-09 00:02:00 +0000
committerroot <root@rshg054.dnsready.net>2012-07-09 00:02:00 +0000
commit6f492df5ae2ab0d2bd117d6f1c458d52e2e24585 (patch)
tree51e61122d46459be560a778ce76bdf527edf5334 /community-staging/glom
parenta522a5f63f3b5726081698bf742801fb1d242817 (diff)
Mon Jul 9 00:02:00 UTC 2012
Diffstat (limited to 'community-staging/glom')
-rw-r--r--community-staging/glom/PKGBUILD37
-rw-r--r--community-staging/glom/glom.install13
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..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 <dragonlord@aur.archlinux.org>
+# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+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
+}