blob: 3c6e8db5a972ebbb004d9b7e0143185bfe9f82c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: devome <evinedeng@hotmail.com>
pkgname="metacubexd"
pkgver=1.174.1
pkgrel=1
pkgdesc="Mihomo Dashboard, The Official One, XD"
arch=("any")
url="https://github.com/MetaCubeX/${pkgname}"
license=("MIT")
provides=("${pkgname}")
conflicts=("${pkgname}")
makedepends=("pnpm")
optdepends=('clash: A rule-based tunnel in Go'
'mihomo: Another Clash Kernel by MetaCubeX'
'sing-box: The universal proxy platform')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('d4c0a8604cbaac99df8a38b148d2b5b70d17ee3009468bd8c496b22854fe4dfb')
build() {
cd "${pkgname}-${pkgver}"
pnpm install
pnpm build
}
package() {
install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd "${pkgname}-${pkgver}/dist"
find . -type f -exec install -Dm644 {} "${pkgdir}/usr/share/${pkgname}/"{} \;
}
|