[arch-commits] Commit in libiodbc/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:54:13 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:54:13
  Author: felixonmars
Revision: 658634

archrelease: copy trunk to community-staging-x86_64

Added:
  libiodbc/repos/community-staging-x86_64/
  libiodbc/repos/community-staging-x86_64/PKGBUILD
    (from rev 658633, libiodbc/trunk/PKGBUILD)

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

Copied: libiodbc/repos/community-staging-x86_64/PKGBUILD (from rev 658633, libiodbc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:54:13 UTC (rev 658634)
@@ -0,0 +1,38 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=libiodbc
+pkgver=3.52.13
+pkgrel=2
+pkgdesc='Independent Open DataBase Connectivity for Linux'
+arch=('x86_64')
+url='http://www.iodbc.org/dataspace/doc/iodbc/wiki/iodbcWiki/'
+license=('LGPL')
+depends=('bash')
+makedepends=('chrpath')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/openlink/iODBC/archive/v${pkgver}.tar.gz")
+sha256sums=('4bf67fc6d4d237a4db19b292b5dd255ee09a0b2daa4e4058cf3a918bc5102135')
+
+build() {
+	cd "iODBC-${pkgver}"
+
+	./autogen.sh
+	./configure \
+		--prefix=/usr \
+		--disable-static \
+		--includedir=/usr/include/libiodbc \
+		--disable-gui \
+		--disable-libodbc
+	make
+}
+
+package() {
+	cd "iODBC-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+
+	chrpath -d "${pkgdir}"/usr/bin/iodbctest{,w}
+	rm -rf "${pkgdir}"/usr/share/libiodbc/
+}


More information about the arch-commits mailing list