New package: shiori-1.5.0

This commit is contained in:
Frank Steinborn 2021-07-25 11:15:46 +02:00 committed by Piraty
parent 6f908e8e14
commit 6f2cfdeca0
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
exec chpst -u _shiori shiori serve ${OPTS="--address 127.0.0.1 --port 8080"}

23
srcpkgs/shiori/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'shiori'
pkgname=shiori
version=1.5.0
revision=1
build_style=go
go_import_path=github.com/go-shiori/shiori
short_desc="Simple bookmark manager built with Go"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="MIT"
homepage="https://github.com/go-shiori/shiori"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum=c2ebc0f009feb22f891c7ab0fa7b8c0d71e1cfc34a974c7503a702ec07d8e9ee
system_accounts="_shiori"
_shiori_homedir="/var/lib/shiori"
_shiori_descr="shiori bookmark manager"
make_dirs="/var/lib/shiori 0700 _shiori _shiori"
post_install() {
vsv shiori
vlicense LICENSE
}