New package: gemserv-0.4.5
This commit is contained in:
parent
5ddb3261d8
commit
3994bcd77c
2 changed files with 24 additions and 0 deletions
3
srcpkgs/gemserv/files/gemserv/run
Executable file
3
srcpkgs/gemserv/files/gemserv/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
exec chpst -u _gemserv gemserv ${CONF:-/etc/gemserv.conf}
|
21
srcpkgs/gemserv/template
Normal file
21
srcpkgs/gemserv/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# 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
|
||||||
|
}
|
Loading…
Reference in a new issue