PKGBUILDs/extra/python-pysqlite/PKGBUILD

30 lines
940 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 49382 2009-08-06 23:56:32Z giovanni $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
pkgname=python-pysqlite
pkgver=2.5.5
_branch=2.5
pkgrel=1
pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
license=("custom")
arch=(i686 x86_64)
url="http://initd.org/tracker/pysqlite"
depends=(python sqlite3)
replaces=(pysqlite2)
source=(http://oss.itsystementwicklung.de/download/pysqlite/$_branch/$pkgver/pysqlite-$pkgver.tar.gz \
setup.cfg)
build() {
cd $startdir/src/pysqlite-$pkgver
cp $startdir/src/setup.cfg .
python setup.py install --root=$startdir/pkg
mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
install -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/license.txt
rm -r $startdir/pkg/usr/pysqlite2-doc
}
md5sums=('4f9fcd12a4860160b1f332066c64ee58'
'86dd356c65afd14a22f2f8f64a26441e')