[arch-commits] Commit in unixodbc/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 09:32:43 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:32:43
  Author: felixonmars
Revision: 383885

archrelease: copy trunk to staging-x86_64

Added:
  unixodbc/repos/staging-x86_64/
  unixodbc/repos/staging-x86_64/PKGBUILD
    (from rev 383883, unixodbc/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: unixodbc/repos/staging-x86_64/PKGBUILD (from rev 383883, unixodbc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:32:43 UTC (rev 383885)
@@ -0,0 +1,32 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=unixodbc
+pkgver=2.3.7
+pkgrel=3
+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=('274a711b0c77394e052db6493840c6f9')
+
+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
+}



More information about the arch-commits mailing list