From e60b0d46dd83d05b3c62feaee65ccc80850656a7 Mon Sep 17 00:00:00 2001 From: Albert S Date: Thu, 29 Jun 2023 15:43:00 +0200 Subject: [PATCH] packages: Add element-desktop --- packages/element-desktop.debfetcher | 26 +++++++++++++++++++++++++ pubkeys/element-io-archive-keyring.gpg | Bin 0 -> 2577 bytes 2 files changed, 26 insertions(+) create mode 100644 packages/element-desktop.debfetcher create mode 100644 pubkeys/element-io-archive-keyring.gpg diff --git a/packages/element-desktop.debfetcher b/packages/element-desktop.debfetcher new file mode 100644 index 0000000..3067bf4 --- /dev/null +++ b/packages/element-desktop.debfetcher @@ -0,0 +1,26 @@ +APTURL="https://packages.element.io/debian" +DISTRO="default" +REPO="main" +PUBKEY="${PUBKEY_PATH}/element-io-archive-keyring.gpg" +PACKAGE="element-desktop" + +TS=$(date +%s) +THIS_BASEDIR="/opt/Element" + +install() +{ + #Inspired by Gentoo's ebuild + + cp -a --parents -- opt/Element "${DEBFETCHER_INSTALL_DESTDIR}" + cp --parents -- usr/share/applications/element-desktop.desktop "${DEBFETCHER_INSTALL_DESTDIR}" + chmod o=r ${DEBFETCHER_INSTALL_DESTDIR}/usr/share/applications/element-desktop.desktop + + ln -sf ${DEBFETCHER_INSTALL_DESTDIR}/opt/Element/element-desktop "${DEBFETCHER_BIN_SYMLINK_DIR}" + + find usr -name element-desktop.png | while read line ; do + path=$(dirname "$line") + mkdir -p -- /${DEBFETCHER_INSTALL_DESTDIR}/${path} + cp -a "$line" -- ${DEBFETCHER_INSTALL_DESTDIR}/${path} + done +} + diff --git a/pubkeys/element-io-archive-keyring.gpg b/pubkeys/element-io-archive-keyring.gpg new file mode 100644 index 0000000000000000000000000000000000000000..fe7e26b545494fee91417cf9c6175d8d3fa940cb GIT binary patch literal 2577 zcmZ{kX*d)L7sqGD3}#GY7lyKwgzU>q#u)1eLn3vHv5aKNzE+k&mSXI?Mi`U1t|hWd zwtJDKvCJirtFlIfltH}R`@HvgKfT}1bI$pHI_LK*0G$9kG>YT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