* manually add pygments hatchling DEP and update .cache
[t2sde.git] / package / www / cgit / cgit.conf
blob698a743827f48d3d02ad6cf8aa2c864bb0a5bb37
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/cgit/cgit.conf
3 # Copyright (C) 2024 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 var_append makeopt ' ' 'all'
13 hook_add prepatch 5 cgit_extract_git
15 [ "$SDECFG_LIBC" = musl ] && export NO_REGEX=NeedsStartEnd
17 cgit_extract_git() {
18         rm -rf git/
20         # supplied version needs to be the same indicated in cgit's Makefile
21         tar -C $builddir/$pkg-$ver $taropt $(match_source_file -p | grep -v cgit) && \
22                 mv git-*/ git