summaryrefslogtreecommitdiff
path: root/extra/unixodbc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/unixodbc/PKGBUILD')
-rw-r--r--extra/unixodbc/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/extra/unixodbc/PKGBUILD b/extra/unixodbc/PKGBUILD
index fbb4bdc26..fa76fd234 100644
--- a/extra/unixodbc/PKGBUILD
+++ b/extra/unixodbc/PKGBUILD
@@ -1,29 +1,28 @@
-# $Id: PKGBUILD 78429 2010-04-23 18:51:55Z andyrtr $
+# $Id: PKGBUILD 137809 2011-09-11 11:42:08Z pierre $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
-
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=unixodbc
pkgver=2.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2.1')
url="http://www.unixodbc.org/"
backup=('etc/odbc.ini' 'etc/odbcinst.ini')
-depends=('readline>=6.0' 'libtool')
+depends=('readline' 'libltdl')
options=('!libtool')
-source=(http://www.unixodbc.org/unixODBC-$pkgver.tar.gz)
+source=("http://www.unixodbc.org/unixODBC-$pkgver.tar.gz")
md5sums=('f2ad22cbdffe836c58987ed2332c2e99')
build() {
cd ${srcdir}/unixODBC-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc
- make || return 1
+ make
}
package() {
cd ${srcdir}/unixODBC-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
+ make DESTDIR=${pkgdir} install
}