From 1bc9e7b1f5335c49fe324ca3b73ab7caf198df05 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Tue, 14 Dec 2021 11:19:41 +0100 Subject: [PATCH] upgpkg: autojump-git 22.5.3.r0.g06e082c-6 sitepackage var already include /usr/lib --- autojump-git/.SRCINFO | 2 +- autojump-git/PKGBUILD | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autojump-git/.SRCINFO b/autojump-git/.SRCINFO index 92bb013..704271a 100644 --- a/autojump-git/.SRCINFO +++ b/autojump-git/.SRCINFO @@ -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 = 5 + pkgrel = 6 url = http://github.com/wting/autojump arch = any license = GPL3 diff --git a/autojump-git/PKGBUILD b/autojump-git/PKGBUILD index a881f08..3742368 100644 --- a/autojump-git/PKGBUILD +++ b/autojump-git/PKGBUILD @@ -5,7 +5,7 @@ pkgname=autojump-git pkgver=22.5.3.r0.g06e082c -pkgrel=5 +pkgrel=6 pkgdesc="A faster way to navigate your filesystem from the command line" arch=(any) url="http://github.com/wting/autojump" @@ -41,8 +41,8 @@ package() { # FS#60929 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}" + install -d "${pkgdir}/${site_packages}" + mv ${pkgdir}/usr/bin/*.py "${pkgdir}/${site_packages}" python -m compileall -d /usr/lib "${pkgdir}/usr/lib" python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib"