mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 08:47:14 +08:00
30 lines
933 B
Bash
30 lines
933 B
Bash
# $Id: PKGBUILD 84593 2010-07-01 05:27:32Z dgriffiths $
|
|
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
|
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
|
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
|
|
|
|
pkgname=python-pysqlite
|
|
pkgver=2.6.0
|
|
pkgrel=2
|
|
pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
|
|
license=('custom')
|
|
arch=('i686' 'x86_64')
|
|
url="http://code.google.com/p/pysqlite/"
|
|
depends=('python2' 'sqlite3')
|
|
replaces=('pysqlite2')
|
|
source=(http://pysqlite.googlecode.com/files/pysqlite-${pkgver}.tar.gz \
|
|
setup.cfg)
|
|
md5sums=('fc92618b3b39d02e6ff10dc467c36640'
|
|
'86dd356c65afd14a22f2f8f64a26441e')
|
|
build() {
|
|
cd ${srcdir}/pysqlite-${pkgver}
|
|
cp ${srcdir}/setup.cfg .
|
|
python2 setup.py install --root=${pkgdir}
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/pysqlite-${pkgver}
|
|
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
rm -r ${pkgdir}/usr/pysqlite2-doc
|
|
}
|