diff options
author | M0Rf30 | 2019-11-17 14:04:31 +0100 |
---|---|---|
committer | M0Rf30 | 2019-11-17 14:04:31 +0100 |
commit | 18d73f92954a8639d9c93ace0b5b2b75451ce437 (patch) | |
tree | 958bbbcb9b770f4348dc35dea7eb67d3188322f0 | |
parent | 369abfbbf0e062948d2b3cb3cfdc8fb3d2fd7238 (diff) | |
download | aur-18d73f92954a8639d9c93ace0b5b2b75451ce437.tar.gz |
mycroft-core: 19.8.3
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -61,12 +61,16 @@ package() { source .venv/bin/activate pip install -r requirements.txt pip install https://github.com/JarbasAl/py_mplayer/archive/master.zip + + # Fix Virtualenv sed -i 's/^VIRTUAL_ENV=.*/VIRTUAL_ENV="\/usr\/share\/mycroft-core\/.venv"/g' .venv/bin/activate + pathtoreplace=`echo $pkgdir | sed 's:/:\\\/:g'` rm .venv/bin/activate.{fish,csh} # Cleanup find . -name "*.py[co]" -o -name __pycache__ -exec rm -rf {} + rm -rf "$pkgdir/usr/share/mycroft-core/test" + sed -i "s/$pathtoreplace//g" $pkgdir/usr/share/mycroft-core/.venv/bin/* # Pulseaudio Client configuration install -D -m644 "${srcdir}/client.conf" "${pkgdir}/usr/share/mycroft-core/pulseaudio.client.conf" |