[arch-commits] Commit in unixodbc/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Andreas Radke
andyrtr at gemini.archlinux.org
Wed May 11 18:36:33 UTC 2022
Date: Wednesday, May 11, 2022 @ 18:36:33
Author: andyrtr
Revision: 445023
archrelease: copy trunk to testing-x86_64
Added:
unixodbc/repos/testing-x86_64/
unixodbc/repos/testing-x86_64/PKGBUILD
(from rev 445022, unixodbc/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: unixodbc/repos/testing-x86_64/PKGBUILD (from rev 445022, unixodbc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-05-11 18:36:33 UTC (rev 445023)
@@ -0,0 +1,33 @@
+# 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.11
+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=('d9e55c8e7118347e3c66c87338856dad1516b490fb7c756c1562a2c267c73b5c')
+
+build() {
+ cd unixODBC-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ 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