# 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 <