updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mysql-jdbc / PKGBUILD
blob6ca990634352503d54920339da8d578da02d81cf
1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
3 pkgname=mysql-jdbc
4 pkgver=5.1.18
5 pkgrel=1
6 pkgdesc="The official JDBC driver for MySQL"
7 arch=('i686' 'x86_64')
8 url="http://www.mysql.com/downloads/connector/j/"
9 license=('GPL')
10 depends=('java-runtime')
11 source=(http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-J/mysql-connector-java-$pkgver.zip)
12 install=mysql-jdbc.install
14 package() {
15         local connector=mysql-connector-java-$pkgver
17     install -D -m644 \
18                 $srcdir/${connector}/${connector}-bin.jar \
19                 $pkgdir/usr/share/java/mysql-jdbc/${connector}-bin.jar
20     ln -s ${connector}-bin.jar $pkgdir/usr/share/java/mysql-jdbc/mysql-connector-java-bin.jar
23 md5sums=('ff31c64200f260478aab3022f3c554c7')
24 sha256sums=('70883b2015af4f45216986bfa8710eace537cee3ed941f8ed20fc843d2473298')