Skip to content

Commit 78e1364

Browse files
silentJET85philclifford
authored andcommitted
change qownnotes install method
1 parent 1d5d368 commit 78e1364

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

01-main/packages/qownnotes

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
1-
DEFVER=1
2-
PPA="ppa:pbek/qownnotes"
1+
DEFVER=2
2+
ARCHS_SUPPORTED="amd64 arm64 armhf"
3+
local THE_KEY
4+
local THE_REPO
5+
case ${UPSTREAM_ID} in
6+
ubuntu)
7+
THE_KEY="https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x54223c6547878405"
8+
THE_REPO="https://ppa.launchpadcontent.net/pbek/qownnotes/ubuntu ${UPSTREAM_CODENAME} main"
9+
;;
10+
*)
11+
local DEBIANVER
12+
local THE_OPTIONS
13+
case ${UPSTREAM_CODENAME} in
14+
sid|13|trixie) DEBIANVER=Unstable ;;
15+
*) DEBIANVER=${UPSTREAM_RELEASE} ;;
16+
esac
17+
THE_KEY="http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_${DEBIANVER}/Release.key"
18+
THE_REPO="http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_${DEBIANVER}/ /"
19+
THE_OPTIONS="arch=${HOST_ARCH}"
20+
;;
21+
esac
22+
23+
ASC_KEY_URL="${THE_KEY}"
24+
APT_REPO_URL="${THE_REPO}"
25+
APT_REPO_OPTIONS="${THE_OPTIONS}"
26+
APT_LIST_NAME=qownnotes
327
PRETTY_NAME="qownnotes"
428
WEBSITE="https://www.qownnotes.org"
529
SUMMARY="Free open source plain-text file markdown note-taking with Nextcloud / ownCloud integration."

0 commit comments

Comments
 (0)