Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/python-libnacl/PKGBUILD
blob: ca82c81da4e66fec97e13602d9a932278b1dbd35 (plain)
1
2
3
4
5
6
7
8
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}
}