summaryrefslogtreecommitdiffstats
path: root/extra/python-sqlite/Pkgfile
blob: f566d4259e83af831a95e10bf688f8c10910440b (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:

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
}