#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=unixodbc pkgver=2.3.12 pkgrel=02 pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources" url="http://www.unixodbc.org/" backup=('etc/odbc.ini' 'etc/odbcinst.ini') depends=('readline' 'libltdl' 'glibc') source=(ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-$pkgver.tar.gz) 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 } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('GPL-2.0-or-later' 'LGPL-2.1-or-later') sha256sums=(f210501445ce21bf607ba51ef8c125e10e22dffdffec377646462df5f01915ec) # unixODBC-2.3.12.tar.gz ## 0040f885a9e710bf51c83530f221d961d700b4a58f598f0b4bb84a2dd5d4a97e unixodbc-2.3.12-02-x86_64.pkg.tar.lz