void-packages/srcpkgs/gemserv/template
2021-12-30 18:25:14 -06:00

22 lines
610 B
Bash

# Template file for 'gemserv'
pkgname=gemserv
version=0.6.3
revision=1
# uses rustls/ring
archs="x86_64* aarch64* i686* armv[67]*"
wrksrc="${pkgname}-v${version}"
build_style=cargo
hostmakedepends="pkg-config"
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=e84656f1a3274d2becdecd731afe767477ead7f2c265c0d7ae8ee9e8bc81ded8
system_accounts="_gemserv"
post_install() {
vsv gemserv
vsconf config.toml
vlicense LICENSE
}