[arch-commits] Commit in gsql/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Mar 4 09:14:35 UTC 2017


    Date: Saturday, March 4, 2017 @ 09:14:34
  Author: arojas
Revision: 214844

openssl 1.1 rebuild

Modified:
  gsql/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-04 09:13:05 UTC (rev 214843)
+++ PKGBUILD	2017-03-04 09:14:34 UTC (rev 214844)
@@ -3,7 +3,7 @@
 
 pkgname=gsql
 pkgver=0.2.2
-pkgrel=8
+pkgrel=9
 pkgdesc="Integrated database development tool for GNOME"
 url="http://gsql.org/"
 license=('GPL')
@@ -16,12 +16,13 @@
             'postgresql-libs: PostgreSQL engine'
             'vte: Terminal session plugin')
 options=(!emptydirs)
-source=(http://gsql.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('8f3322a75390584729e84a8570e08bea')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/halturin/gsql/archive/release-$pkgver.tar.gz")
+md5sums=('dbe43c17e133fdfe2372c2060a1c4ef1')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-release-$pkgver"
   sed -i 's/notify_notification_new (subj, message, NULL, NULL);/notify_notification_new (subj, message, NULL);/' libgsql/notify.c
+  ./autogen.sh
   LDFLAGS="$LDFLAGS `pkg-config --libs gthread-2.0`" ./configure --prefix=/usr --sysconfdir=/etc \
               --disable-static --without-gnome
   make
@@ -28,7 +29,7 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-release-$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



More information about the arch-commits mailing list