updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / sqliteodbc / PKGBUILD
blobf2cbee1ebaeecc4917d1223cd58f9f7571f31099
1 pkgname=sqliteodbc
2 pkgver=0.93
3 pkgrel=1
4 pkgdesc="ODBC driver for SQLite 2.8.* and SQLite 3.*"
5 url="http://www.ch-werner.de/sqliteodbc"
6 license="custom"
7 arch=('i686' 'x86_64')
8 depends=('unixodbc' 'sqlite3')
9 options=('!libtool')
10 source=(${url}/${pkgname}-${pkgver}.tar.gz)
12 build() {
13   cd "$srcdir/$pkgname-$pkgver"
14   ./configure --prefix=/usr
15   make
17 package() {
18   cd "$srcdir/$pkgname-$pkgver"
19   install -dm755 "$pkgdir/usr/lib"
20   make DESTDIR="$pkgdir" install
21   install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
22   install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
24 md5sums=('2bb0b8a07f5978b9a839641dcf0d16ba')