first commit
This commit is contained in:
commit
93a43b733d
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Maintainers: Kevin Muñoz <kmunoz@condorbs.net>
|
||||
|
||||
pkgname=condorcore-mirrorlist
|
||||
pkgver=23.8
|
||||
pkgrel=1
|
||||
pkgdesc="CondorCore mirrorlist"
|
||||
arch=('x86_64')
|
||||
url=https://condorcs.net/mrhacker/condorcore-mirrorlist/$pkgname
|
||||
_url="https://raw.githubusercontent.com/endeavouros-team/PKGBUILDS/master/$pkgname"
|
||||
|
||||
license=('GPL3')
|
||||
options=(!strip !emptydirs)
|
||||
backup=("etc/pacman.d/$pkgname") # to keep possibly ranked mirrorlist
|
||||
|
||||
source=($_url/$pkgname)
|
||||
sha512sums=('c782c0da65ded3e1fd5efacd83197467ec6b51d2aeedfbdee68d6e8439c0c8b49bd4c4b35a4484cb0baf9e4aec60d5885cc3804a95b4105dc6f6ed0ea4b29c9e')
|
||||
|
||||
_not_used_prepare() {
|
||||
# Create condorcore-mirrorlist.offline for offline install.
|
||||
# Prefer mirrors that work well worldwide.
|
||||
|
||||
#local offline="condorcore-mirrorlist.offline-install"
|
||||
#local mirrorlist=condorcore-mirrorlist
|
||||
|
||||
#printf "# condorcore mirrorlist for offline install only.\n\n" > $offline
|
||||
#cat $mirrorlist | sed -n '/^## Germany/,/^$/p' >> $offline
|
||||
#cat $mirrorlist | sed -n '/^## [A-Z].*/,$p' >> $offline
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir/$pkgname" "$pkgdir/etc/pacman.d/$pkgname"
|
||||
}
|
20
condorcore-mirrorlist
Normal file
20
condorcore-mirrorlist
Normal file
@ -0,0 +1,20 @@
|
||||
######################################################
|
||||
#### ####
|
||||
#### CondorCore Repository Mirrorlist ####
|
||||
#### ####
|
||||
######################################################
|
||||
#### Entry in file /etc/pacman.conf:
|
||||
### [condorcore]
|
||||
### SigLevel = PackageRequired
|
||||
### Include = /etc/pacman.d/condorcore-mirrorlist
|
||||
######################################################
|
||||
|
||||
|
||||
## USA
|
||||
Server = https://aur.draggane.com/$arch
|
||||
|
||||
## MX
|
||||
Server = https://aur.centauricorex.net/$arch
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user