void-packages/srcpkgs/gemserv/template
2021-11-28 16:42:28 +01:00

21 lines
578 B
Bash

# Template file for 'gemserv'
pkgname=gemserv
version=0.5.0
revision=1
wrksrc="${pkgname}-v${version}"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-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=20e9aa28e719199f94099889ca224f83012f893730c1e14beb06b5a0a2578cb6
system_accounts="_gemserv"
post_install() {
vsv gemserv
vsconf config.toml
vlicense LICENSE
}