forked from M-Labs/artiq
1
0
Fork 0
artiq/windows/PKGBUILD.common

21 lines
421 B
Plaintext
Raw Normal View History

2022-04-05 10:12:29 +08:00
arch=("any")
mingw_arch=("mingw64")
pkgver=${DRV_VERSION}
url="https://m-labs.hk"
source=("source.tar")
sha256sums=("SKIP")
build() {
mkdir mingw64
export PYTHONPATH=`pwd`/mingw64/lib/python3.9/site-packages
chmod +w -R source
cd source
wine-msys2-build python setup.py install --prefix=../mingw64
cd ..
2022-04-05 16:26:08 +08:00
rm -f mingw64/lib/python3.9/site-packages/easy-install.pth
2022-04-05 10:12:29 +08:00
}
package() {
cp -R mingw64 ${pkgdir}
}