summaryrefslogtreecommitdiff
path: root/community/python2-pysqlite-legacy/PKGBUILD
blob: 8c23cc599bbabf21f77427ed95bc770438aa39aa (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
# $Id: PKGBUILD 83742 2013-02-04 21:03:18Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Aaron Griffin <aaron.archlinux.org>

pkgname=python2-pysqlite-legacy
pkgver=1.0.1
pkgrel=2
pkgdesc='Python DB-API 2.0 interface for the legacy SQLite 2'
arch=('x86_64' 'i686' 'mips64el')
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")
sha256sums=('9ceed0af9e94b2f8701d4f36d7e86715d8ca64283e0b311e1816c031c3658f08')

package() {
  cd "$srcdir/pysqlite"
  python2 setup.py install --root="$pkgdir" -O1
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: