summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b3eee860823a2438be8f61736900835721580ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: zhullyb <zhullyb@outlook.com>

pkgname=pacman-mirrorlist-cn-git
pkgver=20210216
pkgrel=1
pkgdesc="Arch Linux China Mainland mirror list for use by pacman"
arch=('x86_64')
url="https://github.com/zhullyb/pacman-mirrorlist-cn"
conflicts=('pacman-mirrorlist')
provides=('pacman-mirrorlist')
license=('custom')
backup=(etc/pacman.d/mirrorlist)
source=("git+https://github.com/zhullyb/pacman-mirrorlist-cn.git")
md5sums=('SKIP')

package() {
    mkdir -p "$pkgdir/etc/pacman.d"
    install -m644 "$srcdir/pacman-mirrorlist-cn/mirrorlist" "$pkgdir/etc/pacman.d/"
}