# $Id: PKGBUILD 204952 2014-02-01 16:16:26Z eric $ # Maintainer: pkgname=freetds pkgver=0.91 pkgrel=4 pkgdesc='Library for accessing Sybase and MS SQL Server databases' url='http://www.freetds.org' arch=('i686' 'x86_64' 'mips64el') license=('LGPL') depends=('openssl' 'unixodbc') backup=('etc/freetds/freetds.conf' 'etc/freetds/locales.conf' 'etc/freetds/pool.conf') source=("ftp://ftp.freetds.org/pub/freetds/stable/${pkgname}-${pkgver}.tar.bz2") md5sums=('e88e96800c89d62307812315b235eb18') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc/freetds --enable-msdblib \ --with-tdsver=7.0 --with-unixodbc=/usr --with-openssl make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }