blob: eb1dbc6e04df754074bb2cc4333e7213c089041e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 12988 2008-09-25 16:26:35Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sqlite3
pkgver=3.6.3
pkgrel=1
pkgdesc="A C library that implements an SQL database engine"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.sqlite.org/"
depends=('readline')
makedepends=('tcl')
conflicts=('sqlite')
replaces=('sqlite')
source=(http://www.sqlite.org/sqlite-$pkgver.tar.gz
sqlite-3.5.8-pkgconfig-version.patch
license.txt)
options=(!libtool)
md5sums=('671d2715f33158abc47a7a2ddd6066c5'
'025965a176173eaf21877f6daed088d4'
'c1cdbc5544034d9012e421e75a5e4890')
build() {
cd ${srcdir}/sqlite-${pkgver}
patch -Np1 -i ${srcdir}/sqlite-3.5.8-pkgconfig-version.patch || return 1
./configure --prefix=/usr --enable-threadsafe --disable-static || return 1
make || return 1
make DESTDIR=${pkgdir} install
install -Dm0644 sqlite3.1 ${pkgdir}/usr/share/man/man1/sqlite3.1
# license
install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}
|