[aur-general] Can't update squirrel-sql
admin at richardmurri.com
admin at richardmurri.com
Thu Feb 5 11:38:49 EST 2009
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 at 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
More information about the aur-general
mailing list