mirrorlist-package/PKGBUILD
2019-11-04 14:32:00 +00:00

25 lines
741 B
Bash

# Maintainer: davedatum <trom@davedatum.com>
pkgname=tromjaro-mirrorlist
pkgver=r2.1fc803a
pkgrel=1
pkgdesc="Official mirrorlist of TROMjaro"
arch=("any")
url="https://gitlab.com/tromsite/tromjaro/mirrorlist-settings"
license=("GPL3")
depends=()
install=${pkgname}.install
makedepends=("git")
source=("${pkgname}::git+${url}.git#commit=1fc803a0b51960e744d5a4b7c09bcbdc1a2c0a71"
"${pkgname}.install")
sha256sums=('SKIP'
'f7163618288dad455a04b941d284360c2a0519ab3877fdb41675fbbb73c96b2c')
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -Dm644 "${srcdir}/${pkgname}/tromjaro-mirrorlist" "${pkgdir}/etc/pacman.d/tromjaro-mirrorlist"
}