summaryrefslogtreecommitdiff
path: root/community/python2-pysqlite-legacy/PKGBUILD
blob: 6fdb5bb6641c5d0cde120f8d96e8dcf2622b395d (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
# $Id: PKGBUILD 77909 2012-10-15 19:54:27Z rvanharen $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor : Aaron Griffin <aaron.archlinux.org>

pkgname=python2-pysqlite-legacy
pkgver=1.0.1
pkgrel=1
pkgdesc="A Python DB-API 2.0 interface for the legacy SQLite 2"
arch=('i686' 'x86_64')
url="http://initd.org/tracker/pysqlite"
replaces=('python-pysqlite-legacy')
license=('custom')
depends=('python2' 'sqlite2')
source=(http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/pysqlite-$pkgver.tar.gz)
md5sums=('4797b5ea7a3d96b87333e6b5af7b9979')

build()
{
  cd ${srcdir}/pysqlite
  python2 setup.py install --root=${pkgdir} -O1

 # install custom license
 install -Dm644 ${srcdir}/pysqlite/LICENSE \
	${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}