diff options
author | everyx | 2023-03-23 22:17:29 +0800 |
---|---|---|
committer | everyx | 2023-03-23 22:19:09 +0800 |
commit | b7e36e682b0bf0561a628b0a0649f53cde0e63dc (patch) | |
tree | 824f50a3729302aa894d84126b092eacd55bc7ec | |
parent | 7b074a316d09e17f5a9f510c8688b4b6ed959bdb (diff) | |
download | aur-b7e36e682b0bf0561a628b0a0649f53cde0e63dc.tar.gz |
fix: ignore .git
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = yacd-ghp-bin pkgdesc = Yet Another Clash Dashboard (prebuild gh-pages) pkgver = 20230212.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/haishanh/yacd arch = any license = MIT @@ -3,7 +3,7 @@ pkgname=yacd-ghp-bin _pkgname=yacd pkgver=20230212.1 -pkgrel=1 +pkgrel=2 pkgdesc='Yet Another Clash Dashboard (prebuild gh-pages)' arch=('any') @@ -28,5 +28,5 @@ pkgver() { package() { cd "$_pkgname" - find . -type f -exec install -Dm 644 {} "${pkgdir}"/usr/share/"${_pkgname}"/{} \; + find . -type f -not -path '*/\.git/*' -exec install -Dm 644 {} "${pkgdir}"/usr/share/"${_pkgname}"/{} \; } |