summaryrefslogtreecommitdiffstats
path: root/main/py-sqlite/APKBUILD
blob: 9dc1d91ce371a638394262f55c6d29c45113f501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=py-sqlite
_pkgname=pysqlite
pkgver=2.6.3
pkgrel=2
pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
url="http://code.google.com/p/pysqlite/"
arch="all"
license="MIT"
depends="sqlite"
makedepends="sqlite-dev python-dev py-setuptools"
install=""
source="http://pysqlite.googlecode.com/files/${_pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="711afa1062a1d2c4a67acdf02a33d86e  pysqlite-2.6.3.tar.gz"
sha256sums="0d538880717f6347bb83f9ce11e9b171caf9d76e1980a0e9c22f8b03aec3585b  pysqlite-2.6.3.tar.gz"
sha512sums="fe7618b9b4b764a32be94dc8abd97445e33009c8489d2b417c9677382452a5c2d176feffe8b3167eb543f89d5ed3b9b717ceef63bfb2157b3f24a539cfb89a51  pysqlite-2.6.3.tar.gz"