diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/aur.ini | 2 | ||||
-rw-r--r-- | packages/aur.py | 17 | ||||
-rw-r--r-- | packages/searxng/PKGBUILD | 4 |
3 files changed, 18 insertions, 5 deletions
diff --git a/packages/aur.ini b/packages/aur.ini index d3fbb83..326f106 100644 --- a/packages/aur.ini +++ b/packages/aur.ini @@ -1,6 +1,6 @@ cgit-pink = 87afbcd732af921d9127cbbbe4aeb8f823f72d97 fw-ectool-git = r2763.0ac6155 -iceshrimp.net-git = v2024.1.beta1.r2.g566b2e3 +iceshrimp.net-git = v2024.1.beta2.r38.g2625a4f ; searxng deps python-fasttext-predict = 043cd051e2e43ba72a9776745fde07bbb290d44a diff --git a/packages/aur.py b/packages/aur.py index 4fdbcfc..b52ab29 100644 --- a/packages/aur.py +++ b/packages/aur.py @@ -1,18 +1,25 @@ import shlex import subprocess - -from local import build_push +import sys from commia.prelude import * from commia.util import check_continue, read_ini +from local import build_push packages = read_ini("packages/aur.ini")["default"] ini = Path("packages/aur.ini").read_text() git_ignore = Path("packages/.gitignore").read_text() +only = sys.argv[1:] +if len(only) == 0: + only = None + print("initializing new packages") for name, fix in packages.items(): + if only and name not in only: + print(f"skipping {name}") + continue if not Path(f"packages/{name}").exists(): print(f"cloning {name}") run_check( @@ -49,6 +56,9 @@ print("checking for new versions") queue = [] for name, current in packages.items(): + if only and name not in only: + print(f"skipping {name}") + continue if name.endswith("-git"): continue print(f"checking {name}") @@ -75,6 +85,9 @@ for name, current in packages.items(): for name, current in packages.items(): + if only and name not in only: + print(f"skipping {name}") + continue if not name.endswith("-git"): continue print(f"checking {name}") diff --git a/packages/searxng/PKGBUILD b/packages/searxng/PKGBUILD index c51e1ae..b84ab53 100644 --- a/packages/searxng/PKGBUILD +++ b/packages/searxng/PKGBUILD @@ -1,8 +1,8 @@ # adapted from searxng-git 1.0.0.r3824.gac430a9ea-1 pkgname=searxng -_date=2024.05.31 -_commit=18fb701be +_date=2024.07.05 +_commit=c835f920e pkgver=$_date+$_commit pkgrel=1 pkgdesc="A privacy-respecting, hackable metasearch engine" |