From 2e8d6d4deb2f181533fc9f9b517a87fe6cd7916e Mon Sep 17 00:00:00 2001 From: langfingaz Date: Thu, 22 Apr 2021 15:01:50 +0200 Subject: [PATCH] separate mirrorlist --- pkg/de-p1st-pacman-mirrorlist/PKGBUILD | 30 +++++++++++++++++++ .../mirrorlist | 0 pkg/de-p1st-pacman/PKGBUILD | 4 +-- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 pkg/de-p1st-pacman-mirrorlist/PKGBUILD rename pkg/{de-p1st-pacman/pacman.d => de-p1st-pacman-mirrorlist}/mirrorlist (100%) diff --git a/pkg/de-p1st-pacman-mirrorlist/PKGBUILD b/pkg/de-p1st-pacman-mirrorlist/PKGBUILD new file mode 100644 index 0000000..7b932a7 --- /dev/null +++ b/pkg/de-p1st-pacman-mirrorlist/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Daniel Langbein +_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 +} diff --git a/pkg/de-p1st-pacman/pacman.d/mirrorlist b/pkg/de-p1st-pacman-mirrorlist/mirrorlist similarity index 100% rename from pkg/de-p1st-pacman/pacman.d/mirrorlist rename to pkg/de-p1st-pacman-mirrorlist/mirrorlist diff --git a/pkg/de-p1st-pacman/PKGBUILD b/pkg/de-p1st-pacman/PKGBUILD index c435a04..8aa36f4 100644 --- a/pkg/de-p1st-pacman/PKGBUILD +++ b/pkg/de-p1st-pacman/PKGBUILD @@ -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 }