mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
normd: change getver
This commit is contained in:
parent
b84c89227d
commit
ae40688752
2 changed files with 7 additions and 12 deletions
|
@ -1,10 +0,0 @@
|
||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
from lilaclib import *
|
|
||||||
|
|
||||||
def pre_build():
|
|
||||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
|
||||||
|
|
||||||
def post_build():
|
|
||||||
git_add_files('PKGBUILD')
|
|
||||||
git_commit()
|
|
|
@ -2,6 +2,11 @@ build_prefix: extra-x86_64
|
||||||
maintainers:
|
maintainers:
|
||||||
- github: starsareintherose
|
- github: starsareintherose
|
||||||
email: kuoi@bioarchlinux.org
|
email: kuoi@bioarchlinux.org
|
||||||
|
pre_build_script: |
|
||||||
|
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||||
|
run_cmd(['updpkgsums'])
|
||||||
|
post_build_script: |
|
||||||
|
git_pkgbuild_commit()
|
||||||
update_on:
|
update_on:
|
||||||
- source: cmd
|
- source: cmd
|
||||||
cmd: curl -sS http://www.bork.embl.de/Docu/AQUA/latest/ | grep norMD | sed 's/"/ /g' | awk '{print $10}' | sed 's/norMD//g' | sed 's/.tar.gz//g'
|
cmd: curl -sS https://www.bork.embl.de/Docu/AQUA/latest/ | grep norMD | sed 's/"/ /g;s/.tar.gz//g;s/norMD/ /g' | awk '{print $ 12}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue