Date: Sunday, February 11, 2018 @ 09:40:53 Author: andyrtr Revision: 316608
archrelease: copy trunk to testing-x86_64 Added: unixodbc/repos/testing-x86_64/ unixodbc/repos/testing-x86_64/PKGBUILD (from rev 316607, unixodbc/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: unixodbc/repos/testing-x86_64/PKGBUILD (from rev 316607, unixodbc/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-02-11 09:40:53 UTC (rev 316608) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: AndyRTR <andy...@archlinux.org> +# Contributor: Judd Vinet <jvi...@zeroflux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=unixodbc +pkgver=2.3.5 +pkgrel=1 +pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources" +arch=('x86_64') +license=('GPL2' 'LGPL2.1') +url="http://www.unixodbc.org/" +backup=('etc/odbc.ini' 'etc/odbcinst.ini') +depends=('readline' 'libltdl') +source=(ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-$pkgver.tar.gz) +md5sums=('abf14cf943f1f8c5e63a24cb26d54fd9') + +build() { + cd unixODBC-${pkgver} + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +check() { + cd unixODBC-${pkgver} + make -k check +} + +package() { + cd unixODBC-${pkgver} + make DESTDIR=${pkgdir} install + touch "$pkgdir"/etc/{odbc,odbcinst}.ini +}