Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Polish arch packaging scripts
Thomas Scholtes committed 11 months ago
commit c3aa74f4c96855eeb8c74e6aa15d82a403f00f38
parent 95e4c8d
3 files changed +7 -7
modified arch/generate-srcinfo.sh
@@ -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

modified arch/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
modified arch/radicle-desktop/PKGBUILD
@@ -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
}