blob: 98c42f56b5339e792fccd62fbb90715887206870 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: taotieren <admin@taotieren.com>
pkgbase=github520-git
pkgname=github520-git
pkgver=r8
pkgrel=1
pkgdesc="😘 让你“爱”上 GitHub,解决访问时图裂、加载慢的问题。"
arch=(any)
url="https://github.com/521xueweihan/GitHub520"
license=('CC BY-NC-ND 4.0 DEED')
groups=()
provides=(${pkgbase%-git})
conflicts=(${pkgbase%-git})
replaces=()
depends=(systemd)
makedepends=(git
wget
sed)
checkdepends=()
optdepends=()
source=(remove-github520-hosts.service
update-github520-hosts.service
update-github520-hosts.timer)
install=github520-git.install
sha256sums=('3f0a9ba945caa4661659a69997d083cf895150c6869d542990f3d9ce4ae7e9b6'
'0bdc8a5a0b468b526dbff9737754698fcc0569779459bc07c1b9e2a95e9e5946'
'2f35458ba93c2c233dfaf291e77ea6042e634b5575dcd69c6a98bed9a48b8569')
options=('!strip')
# pkgver() {
# cd "${srcdir}/${pkgname}/"
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
# }
package() {
install -Dm0644 ${srcdir}/*-github520-hosts.* -t ${pkgdir}/usr/lib/systemd/system/
}
|