summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorpeeweep2019-11-09 23:07:41 +0800
committerpeeweep2019-11-09 23:07:41 +0800
commit5b35f1f521655a4d4c56a522b41d1a7ca71f6edb (patch)
tree93f0237e94275593208f16c8bd3f748612f5d3c2 /PKGBUILD
parentf2d227ddb6632ce925ad1d73ca1d8707ad0e0e5c (diff)
downloadaur-5b35f1f521655a4d4c56a522b41d1a7ca71f6edb.tar.gz
Move to /usr/share/clash-dashboard, bump version 0.3.0-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4669e73b9530..22bed83b03b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=clash-dashboard
pkgver=0.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="web port of clash"
arch=('any')
url="https://github.com/Dreamacro/clash-dashboard"
@@ -20,7 +20,7 @@ source=(
"${pkgname}.service"
)
sha1sums=('b4a1f9f2d71ce972ab45d4474f6b7a5fd199b8f9'
- '3815fd8b887e8c92e9afece3ce1a223d2c19c57e')
+ '14481461e8af49e6d5bcfb3e23546f96697ebf17')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -33,9 +33,9 @@ build() {
}
package() {
- install -dm755 "${pkgdir}/usr/lib"
- cp -r "${srcdir}/${pkgname}-${pkgver}" "${pkgdir}/usr/lib/${pkgname}"
- find "${pkgdir}/usr/lib/${pkgname}/node_modules" \
+ install -dm755 "${pkgdir}/usr/share"
+ cp -r "${srcdir}/${pkgname}-${pkgver}" "${pkgdir}/usr/share/${pkgname}"
+ find "${pkgdir}/usr/share/${pkgname}/node_modules" \
-name "*.a" -exec rm '{}' \; \
-or -name "*.bat" -exec rm '{}' \; \
-or -name "*.c" -exec rm '{}' \; \