Redownload sources during building since we don't know if version() was last run on the correct arch

not all programs have the same source/state across arches (i.e. -bin packages)
This commit is contained in:
InsanePrawn 2021-10-02 06:37:15 +02:00
parent b490cd10ee
commit 2d8c416327

View file

@ -345,8 +345,6 @@ def setup_sources(package: Package, chroot: str, repo_dir: str = None, enable_cr
def build_package(package: Package, arch: str, repo_dir: str = None, enable_crosscompile: bool = True, enable_crossdirect: bool = True):
makepkg_compile_opts = [
'--noextract',
'--skipinteg',
'--holdver',
]
repo_dir = repo_dir if repo_dir else config.get_path('pkgbuilds')