public
Last active

failed gmysqlcc

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
# Contributor: Javier ‘Phrodo_00’ Aravena <Phrodo.00@gmail.com>
pkgname=gmysqlcc
pkgver=161
pkgrel=1
pkgdesc="GUI client for mysql databases."
arch=('i686' 'x86_64')
url="http://gmysqlcc.thepozer.org/cgi-bin/trac.cgi"
license=('GPL')
depends=('gtk2' 'gtksourceview2' 'libmysqlclient')
makedepends=('subversion')
source=()
 
_svntrunk=http://svn.thepozer.com/gmysqlcc/tags/GMYSQLCC_0_3_0/
_svnmod=gmysqlcc
 
build() {
cd "$srcdir"
msg "Connecting to SVN server...."
 
if [[ -d "$_svnmod/.svn" ]]; then
(cd "$_svnmod" && svn up -r "$pkgver")
else
svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
fi
 
msg "SVN checkout done or server timeout"
msg "Starting build..."
 
rm -rf "$srcdir/$_svnmod-build"
cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
cd "$srcdir/$_svnmod-build"
 
sh autogen.sh
./configure --with-gtksourceview --prefix=/usr
make || return 1
make DESTDIR="$pkgdir" install
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.