build_prefix: extra-x86_64
maintainers:
- github: kiri2002
repo_depends:
- r-lavaan
- r-rcpp
- r-rcpparmadillo
- r-rsolnp
pre_build_script: |
  for line in edit_file('PKGBUILD'):
    if line.startswith('_pkgver='):
      line = f'_pkgver={_G.newver}'
    print(line)
  update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
post_build_script: |
  git_pkgbuild_commit()
update_on:
- source: rpkgs
  pkgname: regsem
  repo: cran
- alias: r
