mirrorlist-package/PKGBUILD
2019-11-04 14:25:56 +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'
'9832bc17c4d969f2ef7a4f36060d5659b379aec273f739e2936173c37c513b86')
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"
}