[arch-commits] Commit in gsql/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Mar 4 11:02:04 UTC 2016


    Date: Friday, March 4, 2016 @ 12:02:04
  Author: bpiotrowski
Revision: 164720

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gsql/repos/community-staging-i686/
  gsql/repos/community-staging-i686/PKGBUILD
    (from rev 164719, gsql/trunk/PKGBUILD)
  gsql/repos/community-staging-i686/gsql.install
    (from rev 164719, gsql/trunk/gsql.install)
  gsql/repos/community-staging-x86_64/
  gsql/repos/community-staging-x86_64/PKGBUILD
    (from rev 164719, gsql/trunk/PKGBUILD)
  gsql/repos/community-staging-x86_64/gsql.install
    (from rev 164719, gsql/trunk/gsql.install)

---------------------------------------+
 community-staging-i686/PKGBUILD       |   37 ++++++++++++++++++++++++++++++++
 community-staging-i686/gsql.install   |   24 ++++++++++++++++++++
 community-staging-x86_64/PKGBUILD     |   37 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/gsql.install |   24 ++++++++++++++++++++
 4 files changed, 122 insertions(+)

Copied: gsql/repos/community-staging-i686/PKGBUILD (from rev 164719, gsql/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-03-04 11:02:04 UTC (rev 164720)
@@ -0,0 +1,37 @@
+# $Id$
+# Contributor: Michael Kanis <mkanis at gmx.de>
+
+pkgname=gsql
+pkgver=0.2.2
+pkgrel=7
+pkgdesc="Integrated database development tool for GNOME"
+url="http://gsql.org/"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('gtk2>=2.12' 'gtksourceview2' 'libglade' 'gconf'
+	 'desktop-file-utils' 'libnotify' 'hicolor-icon-theme')
+makedepends=('vte' 'libmariadbclient' 'postgresql-libs' 'libssh')
+optdepends=('libmariadbclient: MySQL engine'
+            'libssh: SSH tunneling plugin'
+            'postgresql-libs: PostgreSQL engine'
+            'vte: Terminal session plugin')
+install=gsql.install
+options=(!emptydirs)
+source=(http://gsql.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('8f3322a75390584729e84a8570e08bea')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's/notify_notification_new (subj, message, NULL, NULL);/notify_notification_new (subj, message, NULL);/' libgsql/notify.c
+  LDFLAGS="$LDFLAGS `pkg-config --libs gthread-2.0`" ./configure --prefix=/usr --sysconfdir=/etc \
+              --disable-static --without-gnome
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+  install -d "${pkgdir}/usr/share/gconf/schemas"
+  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
+  rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
+}

Copied: gsql/repos/community-staging-i686/gsql.install (from rev 164719, gsql/trunk/gsql.install)
===================================================================
--- community-staging-i686/gsql.install	                        (rev 0)
+++ community-staging-i686/gsql.install	2016-03-04 11:02:04 UTC (rev 164720)
@@ -0,0 +1,24 @@
+pkgname=gsql
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-desktop-database -q
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}

Copied: gsql/repos/community-staging-x86_64/PKGBUILD (from rev 164719, gsql/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-03-04 11:02:04 UTC (rev 164720)
@@ -0,0 +1,37 @@
+# $Id$
+# Contributor: Michael Kanis <mkanis at gmx.de>
+
+pkgname=gsql
+pkgver=0.2.2
+pkgrel=7
+pkgdesc="Integrated database development tool for GNOME"
+url="http://gsql.org/"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('gtk2>=2.12' 'gtksourceview2' 'libglade' 'gconf'
+	 'desktop-file-utils' 'libnotify' 'hicolor-icon-theme')
+makedepends=('vte' 'libmariadbclient' 'postgresql-libs' 'libssh')
+optdepends=('libmariadbclient: MySQL engine'
+            'libssh: SSH tunneling plugin'
+            'postgresql-libs: PostgreSQL engine'
+            'vte: Terminal session plugin')
+install=gsql.install
+options=(!emptydirs)
+source=(http://gsql.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('8f3322a75390584729e84a8570e08bea')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's/notify_notification_new (subj, message, NULL, NULL);/notify_notification_new (subj, message, NULL);/' libgsql/notify.c
+  LDFLAGS="$LDFLAGS `pkg-config --libs gthread-2.0`" ./configure --prefix=/usr --sysconfdir=/etc \
+              --disable-static --without-gnome
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+  install -d "${pkgdir}/usr/share/gconf/schemas"
+  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
+  rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
+}

Copied: gsql/repos/community-staging-x86_64/gsql.install (from rev 164719, gsql/trunk/gsql.install)
===================================================================
--- community-staging-x86_64/gsql.install	                        (rev 0)
+++ community-staging-x86_64/gsql.install	2016-03-04 11:02:04 UTC (rev 164720)
@@ -0,0 +1,24 @@
+pkgname=gsql
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-desktop-database -q
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}



More information about the arch-commits mailing list