Skip to content

Commit

Permalink
New package: cinny-desktop-2.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tranzystorekk committed Aug 12, 2023
1 parent d7d1e84 commit 44017eb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions srcpkgs/cinny-desktop/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Template file for 'cinny-desktop'
pkgname=cinny-desktop
version=2.2.6
revision=1
hostmakedepends="cargo cargo-tauri nodejs pkg-config"
makedepends="dbus-devel gtk+3-devel libsoup-devel openssl-devel webkit2gtk-devel"
short_desc="Yet another matrix client for desktop"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="AGPL-3.0-or-later"
homepage="https://cinny.in/"
changelog="https://github.com/cinnyapp/cinny/releases"
distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
checksum=88a8da1fbd80013768014fc78a5d1f94c2564ff14e3f0cf824ccc70a9545df85

do_build() {
(
cd cinny
npm ci
)
export NODE_OPTIONS=--max_old_space_size=4096
cargo tauri build --target ${RUST_TARGET} --bundles deb
}

do_install() {
vbin src-tauri/target/${RUST_TARGET}/release/cinny
vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_amd64/data/usr/share usr/share
vlicense LICENSE
}

0 comments on commit 44017eb

Please sign in to comment.