Polish arch packaging scripts

This commit is contained in:
Thomas Scholtes
2025-06-03 10:06:15 +02:00
parent 95e4c8deaa
commit c3aa74f4c9
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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
+4 -4
View File
@@ -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
}