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 /PKGBUILD | |
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.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |