File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/python2-pysqlite-legacy Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
# See COPYING for license details.
3
3
4
4
pkgname=python2-pysqlite-legacy
5
+ _pkgname=pysqlite
5
6
pkgver=1.0.1
6
- pkgrel=6
7
+ pkgrel=7
7
8
pkgdesc=' Python DB-API 2.0 interface for the legacy SQLite 2.'
8
9
arch=(' x86_64' ' aarch64' )
9
10
url=' https://initd.org/tracker/pysqlite'
10
11
replaces=(' python-pysqlite-legacy' )
11
12
license=(' custom:unknown' )
12
13
depends=(' python2' ' sqlite2' )
13
- source=(" https://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/pysqlite-$pkgver .tar.gz" )
14
+ source=(" http://www.mirrorservice.org/pub/minix/distfiles/backup/$_pkgname -$pkgver .tar.gz" )
15
+ # source=("https://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/pysqlite-$pkgver.tar.gz")
14
16
sha512sums=(' 4e156ea0ed888bb3d215edc678cc57b9943363703da995c142837488510ed333a121987f865b4f8553852ec2a221c08b5bd56ef6fee7d70683de9485d185ca94' )
15
17
16
18
build () {
17
- cd " pysqlite "
19
+ cd $_pkgname
18
20
19
21
python2 setup.py build
20
22
}
21
23
22
24
package () {
23
- cd " pysqlite "
25
+ cd $_pkgname
24
26
25
- python2 setup.py install --prefix=/usr --root=" $pkgdir " --optimize=1 \
26
- --skip-build
27
+ python2 setup.py install --root=" $pkgdir " --prefix=/usr -O1 --skip-build
27
28
28
- install -Dm 644 LICENSE \
29
- " $pkgdir /usr/share/licenses/python2-pysqlite-legacy/LICENSE"
29
+ install -Dm 644 LICENSE " $pkgdir /usr/share/licenses/$pkgname /LICENSE"
30
30
}
31
31
You can’t perform that action at this time.
0 commit comments