From 0bbfbc0861ed299fe7bdd89873f1ff6999aa6ee1 Mon Sep 17 00:00:00 2001 From: Kuoi Date: Wed, 14 Feb 2024 02:20:29 +0800 Subject: [PATCH] *: fix lilac --- BioArchLinux/python-pebble/lilac.yaml | 2 +- BioArchLinux/winclada/lilac.py | 11 ----------- BioArchLinux/winclada/lilac.yaml | 5 +++++ 3 files changed, 6 insertions(+), 12 deletions(-) delete mode 100755 BioArchLinux/winclada/lilac.py diff --git a/BioArchLinux/python-pebble/lilac.yaml b/BioArchLinux/python-pebble/lilac.yaml index 19aa7fc7bf..63254f8629 100644 --- a/BioArchLinux/python-pebble/lilac.yaml +++ b/BioArchLinux/python-pebble/lilac.yaml @@ -3,7 +3,7 @@ maintainers: - github: starsareintherose email: kuoi@bioarchlinux.org pre_build_script: | - run_cmd(['updpkgsums']) + update_pkgver_and_pkgrel(_G.newver) post_build_script: | git_pkgbuild_commit() update_on: diff --git a/BioArchLinux/winclada/lilac.py b/BioArchLinux/winclada/lilac.py deleted file mode 100755 index 14e434f168..0000000000 --- a/BioArchLinux/winclada/lilac.py +++ /dev/null @@ -1,11 +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() - update_aur_repo() diff --git a/BioArchLinux/winclada/lilac.yaml b/BioArchLinux/winclada/lilac.yaml index 6e6eb32e1e..9492140adf 100644 --- a/BioArchLinux/winclada/lilac.yaml +++ b/BioArchLinux/winclada/lilac.yaml @@ -2,6 +2,11 @@ build_prefix: multilib maintainers: - github: starsareintherose email: kuoi@bioarchlinux.org +pre_build_script: | + update_pkgver_and_pkgrel(_G.newver) +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() update_on: - source: cmd cmd: curl -sS https://www.lillo.org.ar/phylogeny/winclada/ | grep 'winclad' | sed 's@-@.@g' | awk '{print $7}'