blob: 9336e6e1e3eab6fb3c2feb5ff38a32ab118acc65 (
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
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Brendan MacDonell <macdonellba at gmail dot com>
# Former Maintainer: Linmiao Xu <linmiao.xu@gmail.com>
# Contributor: Juan Miguel Cejuela <juanmi@jmcejuela.net>
pkgbase=python-apsw
pkgname=('python-apsw' 'python2-apsw')
pkgver=3.8.1
pkgrel=1
arch=('i686' 'x86_64')
url="http://code.google.com/p/apsw/"
license=('MIT')
makedepends=('python' 'python2')
source=("http://apsw.googlecode.com/files/apsw-${pkgver}-r1.zip" 'LICENSE')
md5sums=('83ffdbda803f9ea2091705d35ca6b0e5'
'efc704d50cb39441d00f9dc76cbe6665')
build() {
cd $srcdir
cp -rf apsw-${pkgver}-r1 apsw2
}
package_python-apsw() {
depends=('python' 'sqlite3>=3.7.5')
pkgdesc="Python wrapper for SQLite"
cd $srcdir/apsw-${pkgver}-r1
python setup.py install --root=$pkgdir/
install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
package_python2-apsw() {
depends=('python2' 'sqlite3>=3.7.5')
pkgdesc="Python2 wrapper for SQLite"
cd $srcdir/apsw2
python2 setup.py install --root=$pkgdir/
install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|