Skip to content

Commit

Permalink
daed: extract depends array from package() & use variable _url to sim…
Browse files Browse the repository at this point in the history
…plify source
  • Loading branch information
Integral-Tech committed Dec 29, 2024
1 parent 086da03 commit 1617a48
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions archlinuxcn/daed/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ pkgdesc="A modern dashboard for dae, bundled with dae-wing (backend API server)
arch=('x86_64' 'aarch64')
url="https://github.com/daeuniverse/${pkgname}"
license=('AGPL-3.0-or-later AND MIT')
depends=('v2ray-geoip' 'v2ray-domain-list-community')
makedepends=('pnpm' 'clang' 'go')
provides=('dae')
conflicts=('dae')
source=("${pkgname}-${pkgver}.zip::https://github.com/daeuniverse/${pkgname}/releases/download/v${pkgver}/${pkgname}-full-src.zip")
source=("${pkgname}-${pkgver}.zip::${url}/releases/download/v${pkgver}/${pkgname}-full-src.zip")
sha512sums=('b1ea9e764e14cd36d5fa09c5d42d6e9b505d58f1d16381b61a224e571471a8f623d743b46170fe8c9ef4c54d4edf27474c2b9d31d5a7c7297cf2051b88b7f2d8')
install="${pkgname}.install"
options=(!debug)
Expand All @@ -24,11 +25,6 @@ build() {
}

package() {
depends=(
v2ray-geoip
v2ray-domain-list-community
)

install -vDm755 "${pkgname}" -t "${pkgdir}/usr/bin/"
install -vDm644 "install/${pkgname}.service" -t "${pkgdir}/usr/lib/systemd/system/"
install -vDm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
Expand Down

0 comments on commit 1617a48

Please sign in to comment.