makedeb


python3-pypresence 4.2.1-1


A complete Discord RPC and Rich Presence wrapper library in Python

Click here to go back to the commit logs for python3-pypresence.

Commit:


Hash: 5145711386cefad207472ca2d3d9f6459d841cb8

Message: fix packaging issue

Diff


diff --git a/PKGBUILD b/PKGBUILD
index 95c1022..78a88dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,4 +26,8 @@ package() {
 
   cd "${srcdir}/pypresence-${pkgver}"
   python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  
+  # dirty fix for Ubuntu
+  mv "$pkgdir"/usr/lib/python3.* "$pkgdir"/usr/lib/python3
+  mv "$pkgdir"/usr/lib/python3/site-packages "$pkgdir"/usr/lib/python3/dist-packages
 }