diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a91aa04e89a9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: taotieren <admin@taotieren.com> + +pkgbase=github520-git +pkgname=github520-git +pkgver=r1 +pkgrel=1 +pkgdesc="😘 让你“爱”上 GitHub,解决访问时图裂、加载慢的问题。" +arch=(any) +url="https://github.com/521xueweihan/GitHub520" +license=('unkown') +groups=() +provides=(${pkgbase%-git}) +conflicts=(${pkgbase%-git}) +replaces=() +depends=(systemd) +makedepends=(git + wget + sed) +checkdepends=() +optdepends=() +source=(update-github520-hosts.service + update-github520-hosts.timer) +install=github520-git.install +sha256sums=('b48be3e31639d8fa2e565ff72ddf0413d8efe9b033b03187c67b36e09b63b10f' + '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}/update-github520-hosts.* -t ${pkgdir}/usr/lib/systemd/system/ +} + |