mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
*: clean git pkg and rm py
This commit is contained in:
parent
f636851780
commit
dd0e6ed93b
5 changed files with 8 additions and 9 deletions
|
@ -11,8 +11,7 @@ backup=(etc/pacman.d/mirrorlist.bio)
|
|||
source=(https://raw.githubusercontent.com/BioArchLinux/mirror/main/mirrorlist.bio)
|
||||
sha256sums=('8a90984620549313c521f12b8b4dea49275af9056959d966973f97a97ce41c63')
|
||||
pkgver(){
|
||||
cd $srcdir/mirror
|
||||
printf $(TZ=UTC git log --no-walk --pretty="%cd" --decorate=full --date=format-local:%Y.%m.%d | head -n 1)
|
||||
curl -sSi https://raw.githubusercontent.com/BioArchLinux/mirror/main/mirrorlist.bio | grep 'date' | sed 's/Jan/01/g;s/Feb/02/g;s/Mar/03/g;s/Apr/04/g;s/May/05/g;s/Jun/06/g;s/Jul/07/g;s/Aug/08/g;s/Sep/09/g;s/Oct/10/g;s/Nov/11/g;s/Dec/12/g' | awk '{print $5,$4,$3}' | sed 's/ /./g'
|
||||
}
|
||||
package() {
|
||||
mkdir -p "$pkgdir/etc/pacman.d"
|
||||
|
|
|
@ -23,7 +23,7 @@ validpgpkeys=(
|
|||
|
||||
pkgver() {
|
||||
cd ${pkgname}
|
||||
git describe --tags | sed -E 's/-archlinuxcn[0-9]+//'
|
||||
printf $(TZ=UTC git log --no-walk --pretty="%cd" --decorate=full --date=format-local:%Y.%m.%d | head -n 1)
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
|
@ -26,7 +26,7 @@ sha256sums=('SKIP')
|
|||
|
||||
pkgver() {
|
||||
cd $_pkgname
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
printf $(TZ=UTC git log --no-walk --pretty="%cd" --decorate=full --date=format-local:%Y.%m.%d | head -n 1)
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
|
@ -19,7 +19,7 @@ sha256sums=('SKIP'
|
|||
|
||||
pkgver() {
|
||||
cd pid_children
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
printf $(TZ=UTC git log --no-walk --pretty="%cd" --decorate=full --date=format-local:%Y.%m.%d | head -n 1)
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
|
||||
build_prefix: extra-x86_64
|
||||
|
||||
post_build: git_pkgbuild_commit
|
||||
|
||||
post_build_script: |
|
||||
git_add_files('PKGBUILD')
|
||||
git_pkgbuild_commit()
|
||||
git_commit()
|
||||
update_on:
|
||||
- source: github
|
||||
github: lilydjwg/pid_children
|
||||
|
|
Loading…
Add table
Reference in a new issue