tl-reflector-hook/PKGBUILD

28 lines
852 B
Bash
Raw Normal View History

2020-11-14 20:06:21 +00:00
# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=tl-reflector-hook
pkgver=0.2
2020-11-14 20:06:21 +00:00
pkgrel=1
pkgdesc="A hook to run reflector after an upgrade to pacman-mirrorlist, plus reflector config"
arch=('any')
url="https://git.thurstylark.com/tl-reflector-hook.git/"
license=('GPL')
groups=('tlconfig')
depends=('reflector')
source=("tl-reflector.hook"
"reflector.service.override.conf"
"tl-reflector.conf")
md5sums=('83a559890411b435fe6c510a580a830d'
'224f2e18880355adb313bd958189230f'
'f52888cce53670e2d32fd5f9f5dd282b')
2020-11-14 20:06:21 +00:00
package() {
install -Dm644 tl-reflector.hook \
${pkgdir}/usr/share/libalpm/hooks/tl-reflector.hook
install -Dm644 reflector.service.override.conf \
${pkgdir}/etc/systemd/system/reflector.service.d/override.conf
install -Dm644 tl-reflector.conf \
${pkgdir}/etc/xdg/reflector/tl-reflector.conf
}