gmid - gemini server

This commit is contained in:
Lilian Jónsdóttir 2023-11-07 17:38:58 -08:00
parent 760e94aafb
commit 3d26b13313
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec vlogger -t gmid -p daemon

4
srcpkgs/gmid/files/gmid/run Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
exec 2>&1
exec gmid -f -c /etc/gmid.conf -P /var/run/gmid.pid

23
srcpkgs/gmid/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'gmid'
pkgname=gmid
version=1.8.6
revision=1
build_style=gnu-configure
hostmakedepends="bison pkg-config"
makedepends="libtls-devel openssl-devel libevent-devel"
depends="libtls openssl libevent"
short_desc="Gemini server"
maintainer="Lilian Jónsdóttir <lilian.jonsdottir@gmail.com>"
license="ISC"
homepage="https://gmid.omarpolo.com"
distfiles="https://github.com/omar-polo/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=5e027012f50f56709a7f08a530fd0ecc90402142acdcd7cba6e23bd7a37d0bc8
do_configure() {
./configure PREFIX=/usr MANDIR=/usr/share/man
}
post_install() {
vlicense LICENSE
vsv gmid
}