From e2ee0a849f1bb2b42c7f004c1251cf8dec06ee1d Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Sat, 4 May 2024 16:20:51 -0400 Subject: [PATCH] qownnotes: update to 24.5.0 --- srcpkgs/qownnotes/template | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/srcpkgs/qownnotes/template b/srcpkgs/qownnotes/template index 176d7a6b590a54..cf056296bdbeaf 100644 --- a/srcpkgs/qownnotes/template +++ b/srcpkgs/qownnotes/template @@ -1,8 +1,9 @@ # Template file for 'qownnotes' pkgname=qownnotes -version=24.4.2 +version=24.5.0 revision=1 build_style=qmake +build_helper=qemu configure_args="USE_SYSTEM_BOTAN=1" hostmakedepends="pkg-config qt6-base" makedepends="botan-devel qt6-base-devel qt6-declarative-devel @@ -14,4 +15,11 @@ license="GPL-2.0-only" homepage="https://www.qownnotes.org" changelog="https://raw.githubusercontent.com/pbek/QOwnNotes/main/CHANGELOG.md" distfiles="https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz" -checksum=1e75b121c3b2ed37ba43961f65886f213a5fb20790c3c4edfcdafefb0729c445 +checksum=aa21d6f1bcf4ca95faaba28ca19d1cc9a94b48925a204162c081e04a33bc2faa + +post_install() { + for shell in bash fish; do + QT_QPA_PLATFORM=offscreen vtargetrun ${DESTDIR}/usr/bin/QOwnNotes --completion ${shell} > QOwnNotes.${shell} + vcompletion QOwnNotes.${shell} ${shell} + done +}