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

33 lines
739 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"
2021-04-22 16:11:11 +02:00
pkgver=0.0.4
2021-04-22 15:01:50 +02:00
pkgrel=1
pkgdesc="selected Arch Linux mirrors"
arch=('any')
url="https://git.privacy1st.de/langfingaz/${_reponame}"
license=('MIT')
groups=()
2021-04-22 16:02:02 +02:00
depends=('pacman' 'holo')
2021-04-22 15:01:50 +02:00
makedepends=('git')
optdepends=()
2021-04-22 16:02:02 +02:00
provides=()
conflicts=()
2021-04-22 15:01:50 +02:00
replaces=()
backup=()
options=()
2021-04-22 16:02:02 +02:00
install="${pkgname}.install"
2021-04-22 15:01:50 +02:00
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
2021-04-22 16:02:02 +02:00
install -Dm0644 de-p1st-mirrorlist "$pkgdir"/etc/pacman.d/de-p1st-mirrorlist
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/pacman.conf.holoscript
2021-04-22 15:01:50 +02:00
}