aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 096a8d6a183f2811ec558adffef0a267ea127fe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Tang Yuming <felinae225@qq.com>
pkgname=clashup
pkgver=0.3.0
pkgrel=3
pkgdesc="auto update clash's config file"
license=('GPL')
arch=('any')
url="https://github.com/felinae98/clashup"
depends=(python
         clash
         python-requests
         python-daemon)
source=(clashup clashup.conf clashup.service clashup.timer)
package() {
    install -Dm755 clashup ${pkgdir}/usr/bin/clashup
    install -Dm644 clashup.conf ${pkgdir}/etc/systemd/user/clash.service.d/clashup.conf
    install -Dm644 clashup.service ${pkgdir}/usr/lib/systemd/system/clashup.service
    install -Dm644 clashup.timer ${pkgdir}/usr/lib/systemd/system/clashup.timer
}
md5sums=('23ff0e5d89afa08f844efd53721e7bc0'
         '177338346005e11d33e27edc1f8ab780'
         'f805be578902fb8c6606aef828111af8'
         '58604e2d881d0260623659ce06158e14')