FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux User Repository

 
 
LinkBack Thread Tools
 
Old 02-05-2009, 03:38 PM
 
Default Can't update squirrel-sql

Hi,

I'm having trouble on an update to the AUR and was wondering if anybody
might have any ideas to help me out. I'm not sure if I've done
something dumb or if this is and AUR bug.

Specifically, every time I submit an update for squirrel-sql I get back
an HTTP 500 error message. I am also the maintainer of fetchyahoo, to
which I am still able to submit updates.


Here is the offending PKGBUILD:

# Contributor: Richard Murri <admin@richardmurri.com>
pkgname=squirrel-sql
pkgver=2.6.9
pkgrel=1
pkgdesc="A graphical Java program to manage JDBC databases."
arch=('i686' 'x86_64')
url="http://www.squirrelsql.org/"
license=('LGPL' 'APACHE' 'CPL' 'custom:dean_jones_icons_license'
'custom:nano_xml_license' 'custom:sun_icons_license')
groups=()
depends=('jre')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=(http://downloads.sourceforge.net/squirrel-sql/$pkgname-$pkgver-standard.tar.gz)
noextract=()
md5sums=('67196bc78d45db39f9f0f152f31a28b1')

build() {
cd "$srcdir/SQuirreL SQL Client"

# remove unneeded files
rm squirrel-sql.sh
rm squirrel-sql.bat
rm addpath.bat
rm Uninstaller/uninstaller.jar
rmdir Uninstaller

# copy library files (don't worry about plugins because they are
squirrel specific)
mkdir -p "$pkgdir/usr/share/java/squirrel-sql"
mv lib/* "$pkgdir/usr/share/java/squirrel-sql"
rmdir lib

# copy license files
rm doc/licences/squirrel_licence.txt
rm doc/licences/log4j-licence.txt
rm doc/licences/eclipse-icons-licence.html
rm doc/licences/eclipse-icons-licence.txt
mkdir -p "$pkgdir/usr/share/licenses/squirrel-sql"
mv doc/licences/* "$pkgdir/usr/share/licenses/squirrel-sql"
rmdir doc/licences/

# copy main files
mkdir -p "$pkgdir/usr/share/squirrel-sql"
cp -r * "$pkgdir/usr/share/squirrel-sql"

# create startup file
mkdir -p "$pkgdir/usr/bin/"
echo "
#!/bin/sh

CP=/usr/share/squirrel-sql/squirrel-sql.jar
for name in /usr/share/java/squirrel-sql/*.jar ; do
CP=$CP:$name
done
cd /usr/share/squirrel-sql
java -Xmx256m -cp $CP net.sourceforge.squirrel_sql.client.Main
--log-config-file /usr/share/squirrel-sql/log4j.properties --squirrel-home
/usr/share/squirrel-sql $1 $2 $3 $4 $5 $6 $7 $8 $9
" > "$pkgdir/usr/bin/squirrel-sql"

chmod +x "$pkgdir/usr/bin/squirrel-sql"
}

# vim:set ts=2 sw=2 et:


Thanks for any help,
Richard
 
Old 02-05-2009, 03:43 PM
"Kessia 'even' Pinheiro"
 
Default Can't update squirrel-sql

Hi, this package have the URL source to:
http://downloads.sourceforge.net/sourceforge/squirrel-sql/squirrel-sql-2.6.9-src.zip

Not: http://downloads.sourceforge.net/squirrel-sql/squirrel-sql-2.6.9-standard.tar.gz



On Thu, Feb 5, 2009 at 1:38 PM, <admin@richardmurri.com> wrote:
> Hi,
>
> I'm having trouble on an update to the AUR and was wondering if anybody
> might have any ideas to help me out. I'm not sure if I've done
> something dumb or if this is and AUR bug.
>
> Specifically, every time I submit an update for squirrel-sql I get back
> an HTTP 500 error message. I am also the maintainer of fetchyahoo, to
> which I am still able to submit updates.
>
>
> Here is the offending PKGBUILD:
>
> # Contributor: Richard Murri <admin@richardmurri.com>
> pkgname=squirrel-sql
> pkgver=2.6.9
> pkgrel=1
> pkgdesc="A graphical Java program to manage JDBC databases."
> arch=('i686' 'x86_64')
> url="http://www.squirrelsql.org/"
> license=('LGPL' 'APACHE' 'CPL' 'custom:dean_jones_icons_license'
> 'custom:nano_xml_license' 'custom:sun_icons_license')
> groups=()
> depends=('jre')
> makedepends=()
> provides=()
> conflicts=()
> replaces=()
> backup=()
> options=()
> source=(http://downloads.sourceforge.net/squirrel-sql/$pkgname-$pkgver-standard.tar.gz)
> noextract=()
> md5sums=('67196bc78d45db39f9f0f152f31a28b1')
>
> build() {
> cd "$srcdir/SQuirreL SQL Client"
>
> # remove unneeded files
> rm squirrel-sql.sh
> rm squirrel-sql.bat
> rm addpath.bat
> rm Uninstaller/uninstaller.jar
> rmdir Uninstaller
>
> # copy library files (don't worry about plugins because they are
> squirrel specific)
> mkdir -p "$pkgdir/usr/share/java/squirrel-sql"
> mv lib/* "$pkgdir/usr/share/java/squirrel-sql"
> rmdir lib
>
> # copy license files
> rm doc/licences/squirrel_licence.txt
> rm doc/licences/log4j-licence.txt
> rm doc/licences/eclipse-icons-licence.html
> rm doc/licences/eclipse-icons-licence.txt
> mkdir -p "$pkgdir/usr/share/licenses/squirrel-sql"
> mv doc/licences/* "$pkgdir/usr/share/licenses/squirrel-sql"
> rmdir doc/licences/
>
> # copy main files
> mkdir -p "$pkgdir/usr/share/squirrel-sql"
> cp -r * "$pkgdir/usr/share/squirrel-sql"
>
> # create startup file
> mkdir -p "$pkgdir/usr/bin/"
> echo "
> #!/bin/sh
>
> CP=/usr/share/squirrel-sql/squirrel-sql.jar
> for name in /usr/share/java/squirrel-sql/*.jar ; do
> CP=$CP:$name
> done
> cd /usr/share/squirrel-sql
> java -Xmx256m -cp $CP net.sourceforge.squirrel_sql.client.Main
> --log-config-file /usr/share/squirrel-sql/log4j.properties --squirrel-home
> /usr/share/squirrel-sql $1 $2 $3 $4 $5 $6 $7 $8 $9
> " > "$pkgdir/usr/bin/squirrel-sql"
>
> chmod +x "$pkgdir/usr/bin/squirrel-sql"
> }
>
> # vim:set ts=2 sw=2 et:
>
>
> Thanks for any help,
> Richard
>
>



--
Kessia Pinheiro
Computer Science Student - Brazil, UFBa
Linux System Administrator
Arch Linux Trusted User
Linux User #389695
http://even.archlinux-br.org
---
X Fórum Internacional Software Livre - fisl10
24 a 27 de junho de 2009
PUCRS - Porto Alegre - Brasil
 

Thread Tools




All times are GMT. The time now is 08:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org