PKGBUILDs/community/sqlite2/PKGBUILD

28 lines
770 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Judd <jvinet@zeroflux.org>
pkgname=sqlite2
pkgver=2.8.17
pkgrel=3
pkgdesc="A C library that implements an SQL database engine"
arch=('i686' 'x86_64')
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 || return 1
make DESTDIR=${pkgdir} install || return 1
# install custom license
install -Dm644 ${srcdir}/LICENSE \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}