diff options
author | everyx | 2023-03-25 15:14:32 +0800 |
---|---|---|
committer | everyx | 2023-03-25 15:14:32 +0800 |
commit | 7a074b956b4c4344db9ddd3ae193ca08951da700 (patch) | |
tree | 9d14e8ff6716c9d172e2b5e66206c6807594d036 | |
parent | 524d6b956ee2b950c9ea389b2311de450b82cd34 (diff) | |
download | aur-7a074b956b4c4344db9ddd3ae193ca08951da700.tar.gz |
fix: remove the patch
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 7 insertions, 14 deletions
@@ -2,13 +2,13 @@ pkgname=yacd-git _pkgname=yacd -pkgver=0.3.8.r24.g2236c0d +pkgver=0.3.8.r28.ge533e8e pkgrel=1 pkgdesc='Yet Another Clash Dashboard' arch=('any') -_repo="haishanh/${_pkgname}" -url="https://github.com/${_repo}" +_repo="haishanh/$_pkgname" +url="https://github.com/$_repo" license=('MIT') makedepends=('git' 'pnpm') @@ -17,14 +17,8 @@ optdepends=('clash: A rule-based tunnel in Go' provides=("$_pkgname") conflicts=("$_pkgname") -source=( - "${_pkgname}::git+${url}.git#branch=master" - "issues#751.patch::https://patch-diff.githubusercontent.com/raw/haishanh/yacd/pull/753.patch" -) -sha256sums=( - SKIP - e27451911f48aed1127b1d3baa1d3a9d52ac8c74012a571b5c013f8ca9ed43c8 -) +source=("$_pkgname::git+$url.git#branch=master") +sha256sums=(SKIP) pkgver() { cd "$_pkgname" @@ -32,12 +26,11 @@ pkgver() { } build () { - cd "$_pkgname" - git am "../issues#751.patch" && pnpm i && pnpm build + cd "$_pkgname" && pnpm i && pnpm build } package() { cd "$_pkgname/public" - find . -type f -exec install -Dm 644 {} "${pkgdir}"/usr/share/"${_pkgname}"/{} \; + find . -type f -exec install -Dm 644 {} "$pkgdir/usr/share/$_pkgname"/{} \; } |