Date: Monday, September 7, 2020 @ 04:18:21 Author: andyrtr Revision: 395533
archrelease: copy trunk to testing-x86_64 Added: unixodbc/repos/testing-x86_64/ unixodbc/repos/testing-x86_64/PKGBUILD (from rev 395532, unixodbc/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: unixodbc/repos/testing-x86_64/PKGBUILD (from rev 395532, unixodbc/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-09-07 04:18:21 UTC (rev 395533) @@ -0,0 +1,32 @@ +# Maintainer: AndyRTR <andy...@archlinux.org> +# Contributor: Judd Vinet <jvi...@zeroflux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=unixodbc +pkgver=2.3.9 +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) +sha256sums=('52833eac3d681c8b0c9a5a65f2ebd745b3a964f208fc748f977e44015a31b207') + +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 +}