diff --git a/PKGBUILD b/PKGBUILD index f60a5e7..6225d27 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -30,15 +30,23 @@ makedepends=( ) source=( git+https://github.com/$_name/$_name.git#commit=$_commit + polyfill-main-loop.patch ) -sha256sums=('SKIP') -sha512sums=('SKIP') +sha256sums=('SKIP' + '358bdfbc56051c0297cb4fd9644a63aaa4ec0dd3737f6a9ed0cb10f1488b4e5e') +sha512sums=('SKIP' + '6073083d89048072212901e7254295158c7018e88be184858e7e22ceb84435103f5f37808e210537896d52b23fec3308752086e0c59f6dffb01e6bb36aee62a0') pkgver() { cd $_name git describe --long --abbrev=7 | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd $_name + patch -Np1 -i ../polyfill-main-loop.patch +} + build() { cd $_name python -m build --wheel --no-isolation