summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3918e27fe40e3b7112906ca6dbb906beddb084cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Silvio Knizek <killermoehre@gmx.net>
pkgname=reflector-timer
pkgver=3
pkgrel=3
pkgdesc='A service and timer for the reflector mirrorlist upgrade.'
arch=('any')
url='http://xyne.archlinux.ca/projects/reflector/'
license=('GPL')
depends=('reflector' 'systemd')
backup=('etc/conf.d/reflector.conf')
source=('reflector.service'
        'reflector.timer'
        'reflector.conf')
md5sums=('41d8e59e224200a41c256ca465454c29'
         '45f7496d7b0282f1f3ee5d5cb99c9cbb'
         '621329d2064b2919b1fd0aaade0cc122')

package() {
    install -D -m 644 'reflector.service' "$pkgdir/usr/lib/systemd/system/reflector.service"
    install -D -m 644 'reflector.timer' "$pkgdir/usr/lib/systemd/system/reflector.timer"
    install -D -m 644 'reflector.conf' "$pkgdir/etc/conf.d/reflector.conf"
    install -d -m 755 "${pkgdir}/usr/lib/systemd/system/multi-user.target.wants"
    ln -s "../reflector.timer" "${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/reflector.timer"
}