mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Polish arch packaging scripts
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
exec docker run \
|
||||
--user 1000 \
|
||||
--rm --volume "$(pwd):/workdir:ro" \
|
||||
--rm --volume "$(pwd)/radicle-desktop:/workdir:ro" \
|
||||
--env BUILDDIR=/tmp \
|
||||
--env PKGDEST=/tmp \
|
||||
--env SRCDEST=/tmp \
|
||||
--workdir /workdir \
|
||||
archlinux:base-devel makepkg --printsrcinfo > .SRCINFO
|
||||
archlinux:base-devel makepkg --printsrcinfo > radicle-desktop/.SRCINFO
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ pkgbase = radicle-desktop
|
||||
makedepends = rustup
|
||||
makedepends = npm
|
||||
makedepends = nodejs
|
||||
depends = radicle-node-bin
|
||||
depends = radicle-node
|
||||
depends = cairo
|
||||
depends = desktop-file-utils
|
||||
depends = gdk-pixbuf2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Maintainer: Thomas Scholtes <geigerzaehler@axiom.fm>
|
||||
#
|
||||
# shellcheck shell=bash disable=SC2034 disable=SC2154
|
||||
# shellcheck shell=bash disable=SC2034 disable=SC2154 disable=SC2164
|
||||
|
||||
_commit=33dd37714b7dbf56a11339a4c6f56f11d8b85351
|
||||
pkgname=radicle-desktop
|
||||
@@ -11,7 +11,7 @@ arch=('x86_64')
|
||||
url='https://www.radworks.garden/'
|
||||
license=('GPL-3.0-only')
|
||||
depends=(
|
||||
'radicle-node-bin'
|
||||
'radicle-node'
|
||||
# See https://v2.tauri.app/distribute/aur/#building-from-source
|
||||
'cairo'
|
||||
'desktop-file-utils'
|
||||
@@ -39,14 +39,14 @@ source=("$pkgname::git+https://seed.radicle.xyz/z4D5UCArafTzTQpDZNQRuqswh3ury.gi
|
||||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname" || return 1
|
||||
cd "$pkgname"
|
||||
|
||||
npm install
|
||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname" || return 1
|
||||
cd "$pkgname"
|
||||
|
||||
npx tauri build --bundles deb
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user