summaryrefslogtreecommitdiff
path: root/~xihh/python2-apsw/PKGBUILD
blob: 92ce6d309450ce7d2a74b9a87de734215ea121f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Linmiao Xu <linmiao.xu@gmail.com>
# Contributor: Juan Miguel Cejuela <jmcejuela@ashrentum.net>

pkgname=python2-apsw
pkgver=3.7.9_r1
pkgrel=1
pkgdesc="Python wrapper for SQLite"
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/apsw/"
license=('MIT')
depends=('python2' 'sqlite3')
source=("http://apsw.googlecode.com/files/apsw-${pkgver//_/-}.zip" 'LICENSE')

md5sums=('8188a05819553a7a9aad568db23850af'
         'efc704d50cb39441d00f9dc76cbe6665')

build() {
  cd $srcdir/apsw-${pkgver//_/-}
  python2 setup.py install --root=$pkgdir/

  install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}