-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from lilaclib import * | ||
|
||
def pre_build(): | ||
ver, rel = _G.newver.lstrip('asahi-v').split('-') | ||
for line in edit_file('PKGBUILD'): | ||
if line.startswith('_ver='): | ||
line = f'_ver={ver}' | ||
elif line.startswith('_asahirel='): | ||
line = f'_asahirel={rel}' | ||
print(line) | ||
update_pkgver_and_pkgrel(pkgver) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
maintainers: | ||
- github: yuyichao | ||
|
||
# pre_build_script: run_cmd(['sh', './get_pkg.sh', 'uboot-asahi']) | ||
post_build_script: | | ||
git_add_files('.') | ||
git_commit() | ||
post_build: git_pkgbuild_commit | ||
|
||
update_on: | ||
- source: manual | ||
manual: 2024.04.asahi1 | ||
# - source: github | ||
# github: AsahiLinux/PKGBUILDs | ||
# path: uboot-asahi | ||
- source: github | ||
github: AsahiLinux/asahi-scripts | ||
use_max_tag: true | ||
include_regex: asahi-v[^-]*-[^-]* | ||
- source: manual | ||
manual: 2 |