arch/pkg/de-p1st-pacman-mirrorlist/PKGBUILD

31 lines
623 B
Bash
Raw Normal View History

2021-04-22 15:01:50 +02:00
# 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
}