29 lines
845 B
Bash
29 lines
845 B
Bash
# Template file for 'soju'
|
|
pkgname=soju
|
|
version=0.5.1
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="git.sr.ht/~emersion/soju"
|
|
go_package="./cmd/soju ./cmd/sojuctl"
|
|
hostmakedepends="scdoc"
|
|
short_desc="User-friendly IRC bouncer"
|
|
maintainer="flupe <lucas@escot.me>"
|
|
license="AGPL-3.0-or-later"
|
|
homepage="https://soju.im"
|
|
changelog="https://git.sr.ht/~emersion/soju/refs/v${version}"
|
|
distfiles="https://git.sr.ht/~emersion/soju/refs/download/v${version}/soju-${version}.tar.gz"
|
|
checksum=52a8e3f832b0d897024ffcc85e2f4f4a07bb807be106cdc7090e220baba9f2d5
|
|
conf_files="/etc/soju/config"
|
|
system_accounts="_soju"
|
|
make_dirs="/var/db/soju 0750 _soju _soju
|
|
/var/log/soju 0750 _soju _soju"
|
|
|
|
post_install() {
|
|
scdoc <doc/soju.1.scd >doc/soju.1
|
|
vman doc/soju.1
|
|
vlicense LICENSE
|
|
vinstall $FILESDIR/config 644 etc/soju
|
|
vdoc $FILESDIR/README.voidlinux
|
|
vsv soju
|
|
}
|