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

Evangelos Foutras foutrelis at archlinux.org
Wed Jan 16 14:43:14 UTC 2019


    Date: Wednesday, January 16, 2019 @ 14:43:13
  Author: foutrelis
Revision: 423516

archrelease: copy trunk to community-staging-x86_64

Added:
  gsql/repos/community-staging-x86_64/
  gsql/repos/community-staging-x86_64/PKGBUILD
    (from rev 423515, gsql/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: gsql/repos/community-staging-x86_64/PKGBUILD (from rev 423515, gsql/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-16 14:43:13 UTC (rev 423516)
@@ -0,0 +1,38 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Michael Kanis <mkanis at gmx.de>
+
+pkgname=gsql
+pkgver=0.2.2
+pkgrel=14
+pkgdesc="Integrated database development tool for GNOME"
+url="http://gsql.org/"
+license=('GPL')
+arch=('x86_64')
+depends=('gconf' 'gtksourceview2' 'libglade' 'libnotify')
+makedepends=('mariadb-libs' 'libssh' 'postgresql-libs')
+optdepends=('mariadb-libs: MySQL engine'
+            'libssh: SSH tunneling plugin'
+            'postgresql-libs: PostgreSQL engine')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/halturin/$pkgname/archive/release-$pkgver.tar.gz")
+sha256sums=('a0372e492d9d72410d4c3d5d1e4ab9ce2b9eb9fc69996d2c78e318fb637c9ded')
+
+prepare() {
+  cd $pkgname-release-$pkgver
+  sed -i 's/notify_notification_new (subj, message, NULL, NULL);/notify_notification_new (subj, message, NULL);/' libgsql/notify.c
+  ./autogen.sh
+}
+
+build() {
+  cd $pkgname-release-$pkgver
+  export LDFLAGS="$LDFLAGS -lgthread-2.0"
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              --without-gnome --disable-plugin-vte \
+              --with-gconf-schema-file-dir=/usr/share/gconf/schemas
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-release-$pkgver
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list