diff --git a/repo/linux-bcachefs-git/lilac.py b/repo/linux-bcachefs-git/lilac.py new file mode 100644 index 0000000..44890b1 --- /dev/null +++ b/repo/linux-bcachefs-git/lilac.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 + +from lilaclib import * + + +def pre_build(): + aur_pre_build() + for line in edit_file('PKGBUILD'): + if line.startswith('prepare() {'): + line = line + '\n git config --global user.email "lilac@noreply.bgme.me"\n git config --global user.name "Lilac"\n' + print(line) diff --git a/repo/linux-bcachefs-git/lilac.yaml b/repo/linux-bcachefs-git/lilac.yaml index 2b6b3e4..6521120 100644 --- a/repo/linux-bcachefs-git/lilac.yaml +++ b/repo/linux-bcachefs-git/lilac.yaml @@ -7,12 +7,10 @@ repo_depends: build_prefix: extra-x86_64 -pre_build: aur_pre_build - post_build: aur_post_build update_on: - source: aur aur: linux-bcachefs-git - source: github - github: koverstreet/bcachefs \ No newline at end of file + github: koverstreet/bcachefs