void-packages/srcpkgs/gemserv/template

22 lines
579 B
Bash

# Template file for 'gemserv'
pkgname=gemserv
version=0.4.5
revision=1
wrksrc="${pkgname}-v${version}"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Gemini server written in rust"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="gemini://80h.dev/projects/gemserv/"
distfiles="https://git.sr.ht/~int80h/gemserv/archive/v${version}.tar.gz"
checksum=0d255a5a93275c29fbe4d66dd069e499902ccd6c04983175b90b03725267295c
system_accounts="_gemserv"
post_install() {
vsv gemserv
vsconf config.toml
vlicense LICENSE
}