fix linux-bcachefs-git

This commit is contained in:
bgme 2023-08-23 22:58:20 +08:00
parent a611ba8e70
commit ed4148fce3
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,8 @@ from lilaclib import *
def pre_build(): def pre_build():
aur_pre_build() aur_pre_build()
for line in edit_file('PKGBUILD'): for line in edit_file('PKGBUILD'):
if line.startswith('_subarch='):
line = '_subarch=40'
if line.startswith('prepare() {'): if line.startswith('prepare() {'):
line = line + '\n git config --global user.email "lilac@noreply.bgme.me"\n git config --global user.name "Lilac"\n' line = line + '\n git config --global user.email "lilac@noreply.bgme.me"\n git config --global user.name "Lilac"\n'
print(line) print(line)

View file

@ -5,6 +5,8 @@ maintainers:
repo_depends: repo_depends:
- bcachefs-tools-git - bcachefs-tools-git
time_limit_hours: 3
build_prefix: extra-x86_64 build_prefix: extra-x86_64
post_build: aur_post_build post_build: aur_post_build