summaryrefslogtreecommitdiff
path: root/community/sqlite2/PKGBUILD
blob: b5d55b42714d3165a13daab68b84135c7d005f73 (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
# $Id: PKGBUILD 20695 2010-07-10 22:08:38Z lcarlier $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Judd <jvinet@zeroflux.org>

pkgname=sqlite2
pkgver=2.8.17
pkgrel=4
pkgdesc="A C library that implements an SQL database engine"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.sqlite.org/"
depends=('readline>=6.0.00')
source=(http://www.sqlite.org/sqlite-$pkgver.tar.gz 'LICENSE')
license=('custom')
options=('!libtool')
md5sums=('838dbac20b56d2c4292e98848505a05b'
         '5d3b333e59a37747284f66081660f8a1')

build() {
  cd ${srcdir}/sqlite-${pkgver}

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/sqlite-${pkgver}

  make DESTDIR=${pkgdir} install

  # install custom license
  install -Dm644 ${srcdir}/LICENSE \
	${pkgdir}/usr/share/licenses/${pkgname}/LICENSE 
}