upgpkg: autojump-git 22.5.3.r0.g06e082c-6

sitepackage var already include /usr/lib
This commit is contained in:
Cedric Girard 2021-12-14 11:19:41 +01:00
parent 9dd93d840c
commit 1bc9e7b1f5
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = autojump-git pkgbase = autojump-git
pkgdesc = A faster way to navigate your filesystem from the command line pkgdesc = A faster way to navigate your filesystem from the command line
pkgver = 22.5.3.r0.g06e082c pkgver = 22.5.3.r0.g06e082c
pkgrel = 5 pkgrel = 6
url = http://github.com/wting/autojump url = http://github.com/wting/autojump
arch = any arch = any
license = GPL3 license = GPL3

View file

@ -5,7 +5,7 @@
pkgname=autojump-git pkgname=autojump-git
pkgver=22.5.3.r0.g06e082c pkgver=22.5.3.r0.g06e082c
pkgrel=5 pkgrel=6
pkgdesc="A faster way to navigate your filesystem from the command line" pkgdesc="A faster way to navigate your filesystem from the command line"
arch=(any) arch=(any)
url="http://github.com/wting/autojump" url="http://github.com/wting/autojump"
@ -41,8 +41,8 @@ package() {
# FS#60929 # FS#60929
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
install -d "${pkgdir}/usr/lib/${site_packages}" install -d "${pkgdir}/${site_packages}"
mv ${pkgdir}/usr/bin/*.py "${pkgdir}/usr/lib/${site_packages}" mv ${pkgdir}/usr/bin/*.py "${pkgdir}/${site_packages}"
python -m compileall -d /usr/lib "${pkgdir}/usr/lib" python -m compileall -d /usr/lib "${pkgdir}/usr/lib"
python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib" python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib"