mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
fix abacas lilac.py
This commit is contained in:
parent
500b0c5c3a
commit
423410d242
1 changed files with 4 additions and 6 deletions
|
@ -2,11 +2,9 @@
|
||||||
from lilaclib import *
|
from lilaclib import *
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
for line in edit_file('PKGBUILD'):
|
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||||
if line.startswith('_pkgver='):
|
run_cmd(['updpkgsums'])
|
||||||
line = f'_pkgver={_G.newver}'
|
|
||||||
print(line)
|
|
||||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_add_files('PKGBUILD')
|
||||||
|
git_commit()
|
||||||
|
|
Loading…
Add table
Reference in a new issue