32 lines
856 B
Bash
32 lines
856 B
Bash
# Template file for 'oragono'
|
|
pkgname=oragono
|
|
version=2.5.0
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/oragono/oragono"
|
|
hostmakedepends="git"
|
|
short_desc="Modern IRC server (daemon/ircd) written in Go"
|
|
maintainer="Peter Bui <pbui@github.bx612.space>"
|
|
license="MIT"
|
|
homepage="https://oragono.io/"
|
|
distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
|
|
checksum=b954b20a19a3cfbc0c76febc6277217b275b355e0989edbd6d1a80a1accb6ded
|
|
conf_files="/etc/oragono.conf"
|
|
system_accounts="_oragono"
|
|
_oragono_homedir="/var/lib/oragono"
|
|
make_dirs="
|
|
/var/lib/oragono 0755 _oragono _oragono"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
|
|
vconf default.yaml oragono.conf
|
|
|
|
vmkdir usr/share/${pkgname}
|
|
vcopy oragono.motd usr/share/${pkgname}/default.motd
|
|
|
|
vmkdir usr/share/${pkgname}/i18n
|
|
vcopy "languages/*" usr/share/${pkgname}/i18n/
|
|
|
|
vsv oragono
|
|
}
|