33 lines
911 B
Bash
33 lines
911 B
Bash
# Template file for 'soju'
|
|
pkgname=soju
|
|
version=0.6.2
|
|
revision=2
|
|
build_style=go
|
|
go_import_path="git.sr.ht/~emersion/soju"
|
|
go_package="./cmd/..."
|
|
go_build_tags="libsqlite3"
|
|
hostmakedepends="scdoc"
|
|
makedepends="sqlite-devel"
|
|
short_desc="User-friendly IRC bouncer"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
license="AGPL-3.0-or-later"
|
|
homepage="https://soju.im"
|
|
changelog="https://git.sr.ht/~emersion/soju/refs"
|
|
distfiles="https://git.sr.ht/~emersion/soju/refs/download/v${version}/soju-${version}.tar.gz"
|
|
checksum=b8a8f5af08670497d233137086e273a26c388f5e313c9e9e613ef6caaa3e928a
|
|
conf_files="/etc/soju/config"
|
|
system_accounts="_soju"
|
|
make_dirs="/var/db/soju 0750 _soju _soju
|
|
/var/log/soju 0750 _soju _soju"
|
|
|
|
post_install() {
|
|
for f in doc/*.?.scd; do
|
|
scdoc <$f >"${f%.scd}"
|
|
vman "${f%.scd}"
|
|
done
|
|
vlicense LICENSE
|
|
vinstall $FILESDIR/config 644 etc/soju
|
|
vdoc $FILESDIR/README.voidlinux
|
|
vsv soju
|
|
}
|