aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 62269e090250555b74e46c55b81a2c901c19e766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname=update-mirrors
pkgver=0.1.2
pkgrel=1
pkgdesc="Automatically update the pacman mirrorlist"
arch=('any')
url="https://github.com/ryuslash/update-mirrors"
license=('GPL3')
depends=('curl')
source=('config.sh' 'update-mirrors' 'update-mirrors.hook')
md5sums=('f346650dfe6e27c04857fe818e164981'
         'c2743e2e0d571c12a23962e50784caad'
         'da17120353c50b53f7478f72bbac04e8')
backup=('etc/xdg/update-mirrors/config.sh')

package() {
    install -Dm755 config.sh "${pkgdir}/etc/xdg/update-mirrors/config.sh"
    install -Dm755 update-mirrors "${pkgdir}/usr/bin/update-mirrors"
    install -Dm755 update-mirrors.hook "${pkgdir}/etc/pacman.d/hooks/update-mirrors.hook"
}