summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 1 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ecdfaf5569d2..9962404625a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -17,4 +17,3 @@ pkgbase = vapoursynth-plugin-dfmderainbow-git
sha256sums = SKIP
pkgname = vapoursynth-plugin-dfmderainbow-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 1614b40b1597..fdcd48071801 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ conflicts=("vapoursynth-plugin-${_plug}")
source=("${_plug}::git+https://github.com/dubhater/vapoursynth-${_plug}.git")
sha256sums=('SKIP')
-_site_packages="$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")"
+_site_packages="$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')"
pkgver() {
cd "${_plug}"