diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-04 15:23:31 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-04 15:23:31 +0200 |
| commit | 4947a4b7a57875d52700584c8346f8cb139c31ce (patch) | |
| tree | 49773616de40eb36e8fe79bb2431929463b9c271 /UrbanTerror/UrbanTerror.nvchecker | |
| parent | c9660fced1b8004d8c83c45b55b9b1beb9ee80cc (diff) | |
| download | my-slackbuilds-4947a4b7a57875d52700584c8346f8cb139c31ce.tar.gz my-slackbuilds-4947a4b7a57875d52700584c8346f8cb139c31ce.zip | |
UrbanTerror: take over maintenance (version 4.3.4)
Adopt the orphaned UrbanTerror SlackBuild. Change MAINTAINER/EMAIL to
danix, keep the prior maintainers in the copyright header and add mine.
Uniform the license and arch blocks to the SBo template, drop the stale
inline comments, introduce SRCVERSION to derive the dot-less zip name and
extraction dir, and strip the prebuilt game binaries to satisfy
sbopkglint. Add the nvchecker stanza (regex against the downloads page).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'UrbanTerror/UrbanTerror.nvchecker')
| -rw-r--r-- | UrbanTerror/UrbanTerror.nvchecker | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/UrbanTerror/UrbanTerror.nvchecker b/UrbanTerror/UrbanTerror.nvchecker new file mode 100644 index 0000000..513f7b8 --- /dev/null +++ b/UrbanTerror/UrbanTerror.nvchecker @@ -0,0 +1,10 @@ +# UrbanTerror has no github/pypi release feed; parse the version out of the +# full-zip filename (UrbanTerror<NNN>_full.zip) on the downloads page and turn +# NNN into a dotted version (434 -> 4.3.4). nvchecker regex allows only a single +# capture group, so grab the digits then reshape with from/to_pattern. +[UrbanTerror] +source = "regex" +url = "https://www.urbanterror.info/downloads/" +regex = "UrbanTerror(\\d+)_full\\.zip" +from_pattern = "(\\d)(\\d)(\\d)" +to_pattern = "\\1.\\2.\\3" |
