mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
bioarchlinux-pacmanconf, base-bio: init
This commit is contained in:
parent
5c458a5558
commit
c03bef156a
3 changed files with 46 additions and 0 deletions
14
BioArchLinux/base-bio/PKGBUILD
Normal file
14
BioArchLinux/base-bio/PKGBUILD
Normal file
|
@ -0,0 +1,14 @@
|
|||
pkgname=base
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc='Minimal package set to define a basic BioArchLinux installation'
|
||||
url='https://www.bioarchlinux.org'
|
||||
arch=('any')
|
||||
license=('GPL')
|
||||
depends=(
|
||||
# very very base
|
||||
'base'
|
||||
|
||||
# BioArchLinux related
|
||||
'bioarchlinux-pacmanconf' 'bioarchlinux-mirrorlist' 'bioarchlinux-keyring'
|
||||
)
|
20
BioArchLinux/bioarchlinux-pacmanconf/PKGBUILD
Normal file
20
BioArchLinux/bioarchlinux-pacmanconf/PKGBUILD
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Maintainer: Guoyi
|
||||
|
||||
pkgname=bioarchlinux-pacmanconf
|
||||
pkgver=2023.03.22
|
||||
pkgrel=0
|
||||
pkgdesc="BioArchLinux pacman conf for use by pacman"
|
||||
arch=('any')
|
||||
url="https://github.com/BioArchLinux/iso"
|
||||
license=('GPL')
|
||||
backup=(etc/pacman.conf)
|
||||
source=(https://raw.githubusercontent.com/BioArchLinux/iso/master/bio/pacman.conf)
|
||||
sha256sums=('bf34baf5b9b662e63a714946c9de8548c85daab14e4f10ba570234bb8a723228')
|
||||
pkgver(){
|
||||
curl -sSi https://raw.githubusercontent.com/BioArchLinux/iso/master/bio/pacman.conf | 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/"
|
||||
install -m644 "$srcdir/pacman.conf" "$pkgdir/etc/pacman.conf"
|
||||
}
|
||||
|
12
BioArchLinux/bioarchlinux-pacmanconf/lilac.yaml
Normal file
12
BioArchLinux/bioarchlinux-pacmanconf/lilac.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: cmd
|
||||
cmd: curl -sSi https://raw.githubusercontent.com/BioArchLinux/iso/master/bio/pacman.conf | 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'
|
Loading…
Add table
Reference in a new issue