void-packages/srcpkgs/gemserv/template
2022-02-24 10:16:10 -06:00

22 lines
610 B
Bash

# Template file for 'gemserv'
pkgname=gemserv
version=0.6.6
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=a4423b91bff3e05708c296fe6135d00b7d09acc33b15c7d078a5c8753a84aa5a
system_accounts="_gemserv"
post_install() {
vsv gemserv
vsconf config.toml
vlicense LICENSE
}