summaryrefslogtreecommitdiff
path: root/community-testing/glom
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-01 23:14:46 +0000
committerroot <root@rshg054.dnsready.net>2011-12-01 23:14:46 +0000
commit9e9ab642711f2424f828e21d14b98c45cdef2b29 (patch)
tree5c1495cfda2b453e377084bad1b20e431e119063 /community-testing/glom
parentbc0657f7159d0b01373ecb59afc426b98a172b1e (diff)
Thu Dec 1 23:14:46 UTC 2011
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..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 <Roman.Kyrylych@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+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
+}