diff options
author | Sebastian Reuße | 2015-12-10 17:44:25 +0100 |
---|---|---|
committer | Sebastian Reuße | 2015-12-10 17:44:25 +0100 |
commit | 1956450b1621663d08da04f8a48ec7bdb207fe0c (patch) | |
tree | ca3400c9473bb6590ed8c6ad48aaa8c1b1a93739 | |
parent | 1119f691ea7b52577c20794ecd65404d60c77033 (diff) | |
download | aur-qfc-git.tar.gz |
Fix Python byte-code location.
In the initial PKGBUILD, we were still using Python 2. We switched to Python 3,
so that we now need to install __pycache__, instead of *.pyc.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Thu Dec 10 09:25:53 UTC 2015 +# Thu Dec 10 16:44:25 UTC 2015 pkgbase = qfc-git pkgdesc = Quick command-line file completion pkgver = r36.736bd2c @@ -44,8 +44,9 @@ package() { local _py_site_pkg="$(python -c 'import site; print(site.getsitepackages()[0])')" local _py_dir="$pkgdir"/"$_py_site_pkg"/qfc - install -dm755 "$_py_dir" - install -m644 qfc/*.{py,pyc} "$_py_dir" + install -dm755 "$_py_dir"/{,__pycache__} + install -m644 qfc/*.py "$_py_dir" + install -m644 qfc/__pycache__/*.pyc "$_py_dir"/__pycache__ install -Dm755 bin/qfc "$_bin_dir"/qfc install -Dm644 bin/qfc.sh "$_share_dir"/qfc.sh install -Dm644 LICENSE "$_license_dir"/LICENSE |