mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-10-18 19:10:45 +08:00
57 lines
1.2 KiB
Bash
57 lines
1.2 KiB
Bash
# Maintainer: Thomas Scholtes <geigerzaehler@axiom.fm>
|
|
#
|
|
# shellcheck shell=bash disable=SC2034 disable=SC2154 disable=SC2164
|
|
|
|
_commit=06a84ebc14feed96243797ab219d9ac85d05d9c7
|
|
pkgname=radicle-desktop
|
|
pkgver='0.16.0'
|
|
pkgrel='1'
|
|
pkgdesc='Radicle desktop app'
|
|
arch=('x86_64')
|
|
url='https://radicle.dev/'
|
|
license=('GPL-3.0-only')
|
|
depends=(
|
|
'radicle-node'
|
|
# See https://v2.tauri.app/distribute/aur/#building-from-source
|
|
'cairo'
|
|
'desktop-file-utils'
|
|
'gdk-pixbuf2'
|
|
'glib2'
|
|
'gtk3'
|
|
'hicolor-icon-theme'
|
|
'libsoup3'
|
|
'pango'
|
|
'webkit2gtk-4.1'
|
|
)
|
|
makedepends=(
|
|
# See https://v2.tauri.app/distribute/aur/#building-from-source
|
|
'git'
|
|
'openssl'
|
|
'appmenu-gtk-module'
|
|
'libappindicator-gtk3'
|
|
'librsvg'
|
|
'cargo'
|
|
'npm'
|
|
'nodejs'
|
|
)
|
|
options=('!strip' '!emptydirs' '!lto')
|
|
source=("$pkgname::git+https://seed.radicle.dev/z4D5UCArafTzTQpDZNQRuqswh3ury.git#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
prepare() {
|
|
cd "$pkgname"
|
|
|
|
npm install
|
|
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
|
}
|
|
|
|
build() {
|
|
cd "$pkgname"
|
|
|
|
npx tauri build --bundles deb
|
|
}
|
|
|
|
package() {
|
|
cp -a $pkgname/target/release/bundle/deb/${pkgname}_${pkgver}_*/data/* "${pkgdir}"
|
|
}
|