mirrorlist-package/PKGBUILD
2019-11-04 14:18:54 +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'
'0675666c8874a416c0a60f16ab9dabb26b37f35fdd6553a5202ecd04e95385d3')
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"
}