summaryrefslogtreecommitdiffstats
path: root/extra/python-sqlite/Pkgfile
blob: f31a02c280071fa7e2fb3c618cacce3e082e867f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Interface DB-API 2.0 en python pour SQlite
# URL: http://code.google.com/p/pysqlite
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: sqlite3
# Run on: sqlite3

name=python-sqlite
version=2.6.0
release=3
source=( http://pysqlite.googlecode.com/files/pysqlite-$version.tar.gz
	setup.cfg)

build() {
  cd pysqlite-$version
  cp $SRC/setup.cfg .
        python2 setup.py install --root=$PKG
  install -D -m644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
  rm -r $PKG/usr/pysqlite2-doc
}