diff options
author | Michel Zou | 2020-09-26 11:56:08 +0200 |
---|---|---|
committer | Michel Zou | 2020-09-26 11:56:08 +0200 |
commit | 0bc17710a9fa7eba36a730a3d7c47f0032e76aa2 (patch) | |
tree | 0cb86397634307e1dee33bf133e6657b3ff8f88c /PKGBUILD | |
parent | 48d748aadaf41c377f7db76d1ee657b8b3c624da (diff) | |
download | aur-0bc17710a9fa7eba36a730a3d7c47f0032e76aa2.tar.gz |
rc2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -10,25 +10,25 @@ depends=('mingw-w64-openssl') optdepends=('mingw-w64-wine: runtime support') makedepends=('mingw-w64-tools' 'mingw-w64-binutils') options=('staticlibs' '!buildflags' '!strip') -source=("https://www.python.org/ftp/python/${pkgver}/python-${pkgver}rc1-embed-win32.zip" - "https://www.python.org/ftp/python/${pkgver}/python-${pkgver}rc1-embed-amd64.zip" - "https://www.python.org/ftp/python/${pkgver}/Python-${pkgver}rc1.tgz" +source=("https://www.python.org/ftp/python/${pkgver}/python-${pkgver}rc2-embed-win32.zip" + "https://www.python.org/ftp/python/${pkgver}/python-${pkgver}rc2-embed-amd64.zip" + "https://www.python.org/ftp/python/${pkgver}/Python-${pkgver}rc2.tgz" wine-python.sh) -noextract=("python-${pkgver}rc1-embed-win32.zip" - "python-${pkgver}rc1-embed-amd64.zip") -sha256sums=('e81cb972d7ab7ab1944e11582f1a6ebb0e3c87b4bba68dadae58f455e0db6151' - '45f13f5881f94522951d1c4a400ad80a2564aa3e1458329089555b7842f43ccd' - 'ef62b8e524c892168171c52db2a7bfaa9e48bc0b1f5179128c9eca368e1f8d21' +noextract=("python-${pkgver}rc2-embed-win32.zip" + "python-${pkgver}rc2-embed-amd64.zip") +sha256sums=('68a1acb76fa390cda48236a466ed7ff93913227eda320943898b90e95610e9c7' + '670243acf57063ad11004a5427a1c0e6632a5cc1cb89607dc4552ec3c8d1aa67' + 'f49fcaef992d908995afcda93d150c77bd452af4fe8c23ac1b92843fda0b6fb2' '86e768f17994ce586d646b4ace95f819943dfe6a0fb1afa40de4188e975d5db8') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" prepare () { - cd "${srcdir}/Python-${pkgver}rc1" + cd "${srcdir}/Python-${pkgver}rc2" } build() { - cd "${srcdir}/Python-${pkgver}rc1" + cd "${srcdir}/Python-${pkgver}rc2" for _arch in ${_architectures}; do target="win32" if test "${_arch}" = x86_64-w64-mingw32 @@ -36,7 +36,7 @@ build() { target="amd64" fi mkdir -p "build-${_arch}" && pushd "build-${_arch}" - bsdtar -xf "${srcdir}"/python-${pkgver}rc1-embed-${target}.zip + bsdtar -xf "${srcdir}"/python-${pkgver}rc2-embed-${target}.zip gendef python${_pybasever}.dll ${_arch}-dlltool --dllname python${_pybasever}.dll --def python${_pybasever}.def --output-lib libpython${_pybasever}.dll.a sed "s|@TRIPLE@|${_arch}|g;s|@PYVER@|${_pybasever}|g" "${srcdir}"/wine-python.sh > ${_arch}-python${_pybasever}-bin @@ -46,7 +46,7 @@ build() { package() { for _arch in ${_architectures}; do - cd "${srcdir}/Python-${pkgver}rc1/build-${_arch}" + cd "${srcdir}/Python-${pkgver}rc2/build-${_arch}" install -d "$pkgdir"/usr/${_arch}/lib install -m644 libpython${_pybasever}*.a "$pkgdir"/usr/${_arch}/lib install -d "$pkgdir"/usr/${_arch}/bin |