diff --git a/srcpkgs/ms-365-electron/files/office b/srcpkgs/ms-365-electron/files/office new file mode 100644 index 0000000..5a89dfb --- /dev/null +++ b/srcpkgs/ms-365-electron/files/office @@ -0,0 +1,6 @@ +#!/bin/bash + +XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config} + +# Launch +exec /opt/MS-365-Electron/ms-365-electron "$@" diff --git a/srcpkgs/ms-365-electron/template b/srcpkgs/ms-365-electron/template new file mode 100644 index 0000000..b5b15af --- /dev/null +++ b/srcpkgs/ms-365-electron/template @@ -0,0 +1,17 @@ +# Template file for 'ms-365-electron' +pkgname=ms-365-electron +version=1.2.0 +revision=1 +short_desc="Unofficial Microsoft 365 Web Desktop Wrapper made with Electron" +maintainer="Jozef Steinhübl " +license="MIT" +homepage="https://github.com/agam778/MS-365-Electron" +provides="office" + +distfiles="https://github.com/agam778/MS-365-Electron/releases/download/v${version}/MS-365-Electron-v${version}-linux-amd64.deb" +checksum="9163cfe2ac8805ef3493da6f0e4c5caab1fbcb41ccd1baa624055b917c0b69f3" + +do_install() { + vcopy opt / + vinstall "${FILESDIR}/office" 755 "usr/bin" +}