upgpkg: autojump-git 22.5.3.r0.g06e082c-5
remove need to update PKGBUILD with new python version
This commit is contained in:
parent
a6860e416b
commit
7a6739d965
2 changed files with 5 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
pkgbase = autojump-git
|
||||
pkgdesc = A faster way to navigate your filesystem from the command line
|
||||
pkgver = 22.5.3.r0.g06e082c
|
||||
pkgrel = 4
|
||||
pkgrel = 5
|
||||
url = http://github.com/wting/autojump
|
||||
arch = any
|
||||
license = GPL3
|
||||
|
@ -13,4 +13,3 @@ pkgbase = autojump-git
|
|||
md5sums = SKIP
|
||||
|
||||
pkgname = autojump-git
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
pkgname=autojump-git
|
||||
pkgver=22.5.3.r0.g06e082c
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="A faster way to navigate your filesystem from the command line"
|
||||
arch=(any)
|
||||
url="http://github.com/wting/autojump"
|
||||
|
@ -18,7 +18,6 @@ source=('git+https://github.com/wting/autojump.git')
|
|||
md5sums=('SKIP')
|
||||
|
||||
_gitname="autojump"
|
||||
_python="python3.9"
|
||||
|
||||
pkgver() {
|
||||
cd ${_gitname}
|
||||
|
@ -41,8 +40,9 @@ package() {
|
|||
done
|
||||
|
||||
# FS#60929
|
||||
install -d "${pkgdir}/usr/lib/$_python/site-packages"
|
||||
mv ${pkgdir}/usr/bin/*.py "${pkgdir}/usr/lib/$_python/site-packages"
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
install -d "${pkgdir}/usr/lib/${site_packages}"
|
||||
mv ${pkgdir}/usr/bin/*.py "${pkgdir}/usr/lib/${site_packages}"
|
||||
python -m compileall -d /usr/lib "${pkgdir}/usr/lib"
|
||||
python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib"
|
||||
|
||||
|
|
Loading…
Reference in a new issue