separate mirrorlist

This commit is contained in:
Daniel Langbein 2021-04-22 15:01:50 +02:00
parent 8848b44a63
commit 2e8d6d4deb
3 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,30 @@
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=pacman-mirrorlist
_reponame=arch-pkg
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc="selected Arch Linux mirrors"
arch=('any')
url="https://git.privacy1st.de/langfingaz/${_reponame}"
license=('MIT')
groups=()
depends=('pacman')
makedepends=('git')
optdepends=()
provides=('pacman-mirrorlist')
conflicts=('pacman-mirrorlist')
replaces=()
backup=()
options=()
install=
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 mirrorlist "$pkgdir"/etc/pacman.d/mirrorlist
}

View File

@ -2,7 +2,7 @@
_pkgname=pacman
_reponame=arch-pkg
pkgname="de-p1st-$_pkgname"
pkgver=0.0.5
pkgver=0.0.6
pkgrel=1
pkgdesc="pacman with configuration"
arch=('any')
@ -28,7 +28,7 @@ package() {
install -Dm0644 pacman.d/de-p1st "$pkgdir"/etc/pacman.d/de-p1st
install -Dm0644 pacman.d/mirrorlist "$pkgdir"/usr/share/holo/files/de-p1st-pacman/etc/pacman.d/mirrorlist
#install -Dm0644 pacman.d/mirrorlist "$pkgdir"/usr/share/holo/files/de-p1st-pacman/etc/pacman.d/mirrorlist
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/de-p1st-pacman/etc/pacman.conf.holoscript
}