From 796376207b9cae307e434e9f59bc64dffbdf6522 Mon Sep 17 00:00:00 2001 From: gesang Date: Tue, 11 Jun 2024 21:12:14 +0200 Subject: trilium-server-bin added --- trilium-server-bin/template | 58 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 trilium-server-bin/template (limited to 'trilium-server-bin') diff --git a/trilium-server-bin/template b/trilium-server-bin/template new file mode 100644 index 0000000..bd8d825 --- /dev/null +++ b/trilium-server-bin/template @@ -0,0 +1,58 @@ +# Template file for 'trilium-server-bin' +pkgname=trilium-server-bin +version=0.63.7 +revision=1 +archs="x86_64" +#build_wrksrc= +#build_style=gnu-configure +#configure_args="" +#make_build_args="" +#make_install_args="" +#conf_files="" +#make_dirs="/var/log/dir 0755 root root" +hostmakedepends="" +makedepends="" +depends="alsa-lib libXScrnSaver nss gtk+3" +short_desc="Trilium server" +maintainer="gesang " +license="MPL-2.0" +homepage="https://github.com/zadam/trilium" +nostrip=true +#changelog="" +distfiles=https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz +checksum=6ba6d70a31fada5744d7e3bbd8dded9d01c425f3214c4304b92dd51ad9b96842 + +do_install(){ + _name="trilium-server" + mkdir -p ${DESTDIR}/opt/${_name} + mkdir -p ${DESTDIR}/usr/bin + mkdir -p ${DESTDIR}/usr/share/applications + cp -r ${wrksrc}/* ${DESTDIR}/opt/${_name} + + install -Dvm644 /dev/stdin ${DESTDIR}/usr/share/applications/${_name}.desktop <