Skip to content

Commit 76aad73

Browse files
committed
python2-pysqlite-legacy: update source.
1 parent a6b9e68 commit 76aad73

File tree

1 file changed

+8
-8
lines changed
  • packages/python2-pysqlite-legacy

1 file changed

+8
-8
lines changed

packages/python2-pysqlite-legacy/PKGBUILD

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@
22
# See COPYING for license details.
33

44
pkgname=python2-pysqlite-legacy
5+
_pkgname=pysqlite
56
pkgver=1.0.1
6-
pkgrel=6
7+
pkgrel=7
78
pkgdesc='Python DB-API 2.0 interface for the legacy SQLite 2.'
89
arch=('x86_64' 'aarch64')
910
url='https://initd.org/tracker/pysqlite'
1011
replaces=('python-pysqlite-legacy')
1112
license=('custom:unknown')
1213
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")
1416
sha512sums=('4e156ea0ed888bb3d215edc678cc57b9943363703da995c142837488510ed333a121987f865b4f8553852ec2a221c08b5bd56ef6fee7d70683de9485d185ca94')
1517

1618
build() {
17-
cd "pysqlite"
19+
cd $_pkgname
1820

1921
python2 setup.py build
2022
}
2123

2224
package() {
23-
cd "pysqlite"
25+
cd $_pkgname
2426

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
2728

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"
3030
}
3131

0 commit comments

Comments
 (0)