Packages/BioArchLinux/r-ggvenndiagram/lilac.py
sukanka e2a60fac3d addpkg: r-rvenn, r-ggvenndiagram.
Reason: depends of `r-chipseeker`
2022-09-17 09:15:57 +08:00

13 lines
348 B
Python

#!/usr/bin/env python3
from lilaclib import *
def pre_build():
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('-', '.'))
def post_build():
git_pkgbuild_commit()
update_aur_repo()