diff options
author | everyx | 2023-03-25 11:10:06 +0800 |
---|---|---|
committer | everyx | 2023-03-25 11:10:06 +0800 |
commit | 524d6b956ee2b950c9ea389b2311de450b82cd34 (patch) | |
tree | 18545fb18c002deb993677c711e3c596cdcb98d9 | |
parent | cb3e919a8a8173f654ef8d687ff4f3814ecc9c69 (diff) | |
download | aur-524d6b956ee2b950c9ea389b2311de450b82cd34.tar.gz |
fix: add infinite refreshing patch
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
3 files changed, 17 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = yacd-git pkgdesc = Yet Another Clash Dashboard - pkgver = 0.3.8.r20.g0b254f1 + pkgver = 0.3.8.r24.g2236c0d pkgrel = 1 url = https://github.com/haishanh/yacd arch = any @@ -12,6 +12,8 @@ pkgbase = yacd-git provides = yacd conflicts = yacd source = yacd::git+https://github.com/haishanh/yacd.git#branch=master + source = issues#751.patch::https://patch-diff.githubusercontent.com/raw/haishanh/yacd/pull/753.patch sha256sums = SKIP + sha256sums = e27451911f48aed1127b1d3baa1d3a9d52ac8c74012a571b5c013f8ca9ed43c8 pkgname = yacd-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4367ae4a50ac --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD
\ No newline at end of file @@ -2,7 +2,7 @@ pkgname=yacd-git _pkgname=yacd -pkgver=0.3.8.r20.g0b254f1 +pkgver=0.3.8.r24.g2236c0d pkgrel=1 pkgdesc='Yet Another Clash Dashboard' @@ -17,8 +17,14 @@ optdepends=('clash: A rule-based tunnel in Go' provides=("$_pkgname") conflicts=("$_pkgname") -source=("${_pkgname}::git+${url}.git#branch=master") -sha256sums=(SKIP) +source=( + "${_pkgname}::git+${url}.git#branch=master" + "issues#751.patch::https://patch-diff.githubusercontent.com/raw/haishanh/yacd/pull/753.patch" +) +sha256sums=( + SKIP + e27451911f48aed1127b1d3baa1d3a9d52ac8c74012a571b5c013f8ca9ed43c8 +) pkgver() { cd "$_pkgname" @@ -27,7 +33,7 @@ pkgver() { build () { cd "$_pkgname" - pnpm i && pnpm build + git am "../issues#751.patch" && pnpm i && pnpm build } package() { |