diff options
author | Gustavo Alvarez | 2016-10-19 22:02:01 +0200 |
---|---|---|
committer | Gustavo Alvarez | 2016-10-19 22:02:01 +0200 |
commit | 9eec084b107867ed6bb6aa912294c3e138caf722 (patch) | |
tree | a57bfabbf6a651b2b1b58dbe4bc1595d26fd7bc5 /PKGBUILD | |
parent | cdb4b7faecd7a28d8424eb033e4b1170eb33d5e8 (diff) | |
download | aur-9eec084b107867ed6bb6aa912294c3e138caf722.tar.gz |
bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -13,9 +13,9 @@ provides=("vapoursynth-plugin-${_plug}") conflicts=("vapoursynth-plugin-${_plug}") makedepend=('git') source=("${_plug}::git+https://gist.github.com/8676fd350d4b5b223ab9.git") -sha1sums=('SKIP') +sha256sums=('SKIP') -_sites_packages="$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")" +_site_packages="$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")" pkgver() { cd "${_plug}" @@ -23,5 +23,7 @@ pkgver() { } package() { - install -Dm644 "${_plug}/${_plug}.py" "${pkgdir}${_sites_packages}/${_plug}.py" + install -Dm644 "${_plug}/${_plug}.py" "${pkgdir}${_site_packages}/${_plug}.py" + python -m compileall -q -f -d "${_sites_packages}" "${pkgdir}${_site_packages}/${_plug}.py" + python -OO -m compileall -q -f -d "${_sites_packages}" "${pkgdir}${_site_packages}/${_plug}.py" } |