diff options
author | Bernát Gábor | 2021-08-26 09:05:24 +0100 |
---|---|---|
committer | Bernát Gábor | 2021-08-26 09:05:24 +0100 |
commit | 019defa2749241abde84e861e870b686e6058ee7 (patch) | |
tree | 1611fca0d7f89929fccae00c2cba9db789272562 | |
parent | 10db8563600f27d624939588a3a6cdb71132ab03 (diff) | |
download | aur-019defa2749241abde84e861e870b686e6058ee7.tar.gz |
Fix build
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 14 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = python-git-quick-build pkgdesc = Next generation of the python high-level scripting language pkgver = 3.11.0a0.r110743.806e25fd317 - pkgrel = 1 + pkgrel = 2 url = https://www.python.org/ arch = x86_64 license = custom @@ -28,3 +28,7 @@ pkgbase = python-git-quick-build sha512sums = SKIP pkgname = python-git-quick-build + optdepends = sqlite + optdepends = mpdecimal: for decimal + optdepends = xz: for lzma + optdepends = tk: for tkinter @@ -3,7 +3,8 @@ pkgname=("python-git-quick-build") pkgdesc="Next generation of the python high-level scripting language" pkgver=3.11.0a0.r110743.806e25fd317 -pkgrel=1 +pkgrel=2 +_pymajver=3 _pybasever=3.11 arch=("x86_64") url="https://www.python.org/" @@ -64,6 +65,12 @@ build() { } package() { + optdepends=( + "sqlite" + "mpdecimal: for decimal" + "xz: for lzma" + "tk: for tkinter" + ) cd cpython # altinstall: /usr/bin/pythonX.Y but not /usr/bin/python or /usr/bin/pythonX make DESTDIR="${pkgdir}" altinstall maninstall @@ -71,7 +78,7 @@ package() { # Avoid conflicts with the main 'python' package. rm -f "${pkgdir}/usr/lib/libpython${_pymajver}.so" rm -f "${pkgdir}/usr/share/man/man1/python${_pymajver}.1" - rm -f "${pkgdir}/usr/lib/python${_pymajver}/test" + rm -f "${pkgdir}/usr/lib/python${_pybasever}/test" # Fix FS#22552 ln -sf ../../libpython${_pybasever}m.so \ |