PKGBUILDs/community/python-pysqlite-legacy/PKGBUILD

25 lines
734 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 : Aaron Griffin <aaron.archlinux.org>
pkgname=python-pysqlite-legacy
pkgver=1.0.1
pkgrel=5
pkgdesc="A Python DB-API 2.0 interface for the legacy SQLite 2"
arch=('i686' 'x86_64')
url="http://initd.org/tracker/pysqlite"
license=('custom')
depends=('python' 'sqlite2')
source=(http://initd.org/pub/software/pysqlite/releases/1.0/$pkgver/pysqlite-$pkgver.tar.gz)
md5sums=('4797b5ea7a3d96b87333e6b5af7b9979')
build()
{
cd ${srcdir}/pysqlite
python setup.py install --root=${pkgdir} || return 1
# install custom license
install -Dm644 ${srcdir}/pysqlite/LICENSE \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}