summaryrefslogtreecommitdiff
path: root/community/python-libnacl
diff options
context:
space:
mode:
Diffstat (limited to 'community/python-libnacl')
-rw-r--r--community/python-libnacl/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/python-libnacl/PKGBUILD b/community/python-libnacl/PKGBUILD
new file mode 100644
index 00000000..ca82c81d
--- /dev/null
+++ b/community/python-libnacl/PKGBUILD
@@ -0,0 +1,9 @@
+# see https://bbs.archlinux32.org/viewtopic.php?pid=224
+# and https://github.com/saltstack/libnacl/issues/103
+
+prepare() {
+ sed -i '
+ s/m, mlen,/m, ctypes.byref(mlen),/
+ ' "libnacl-${pkgver}/libnacl/__init__.py"
+ cp -r libnacl-$pkgver{,-py2}
+}