soju: update to 0.7.0.
This commit is contained in:
parent
3533741683
commit
80c7dc2beb
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
exec chpst -u _soju soju ${OPTS:- -config /etc/soju/config}
|
exec chpst -u _soju soju ${OPTS}
|
||||||
|
|
|
@ -1,32 +1,37 @@
|
||||||
# Template file for 'soju'
|
# Template file for 'soju'
|
||||||
pkgname=soju
|
pkgname=soju
|
||||||
version=0.6.2
|
version=0.7.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="git.sr.ht/~emersion/soju"
|
go_import_path="git.sr.ht/~emersion/soju"
|
||||||
go_package="./cmd/..."
|
go_package="./cmd/... ./contrib/..."
|
||||||
go_build_tags="libsqlite3"
|
go_build_tags="libsqlite3"
|
||||||
|
go_ldflags="-X git.sr.ht/~emersion/soju/config.DefaultPath=/etc/soju/config"
|
||||||
hostmakedepends="scdoc"
|
hostmakedepends="scdoc"
|
||||||
makedepends="sqlite-devel"
|
makedepends="sqlite-devel"
|
||||||
|
depends="libcap-progs"
|
||||||
short_desc="User-friendly IRC bouncer"
|
short_desc="User-friendly IRC bouncer"
|
||||||
maintainer="classabbyamp <void@placeviolette.net>"
|
maintainer="classabbyamp <void@placeviolette.net>"
|
||||||
license="AGPL-3.0-or-later"
|
license="AGPL-3.0-or-later"
|
||||||
homepage="https://soju.im"
|
homepage="https://soju.im"
|
||||||
changelog="https://git.sr.ht/~emersion/soju/refs"
|
changelog="https://git.sr.ht/~emersion/soju/refs"
|
||||||
distfiles="https://git.sr.ht/~emersion/soju/refs/download/v${version}/soju-${version}.tar.gz"
|
distfiles="https://git.sr.ht/~emersion/soju/refs/download/v${version}/soju-${version}.tar.gz"
|
||||||
checksum=b8a8f5af08670497d233137086e273a26c388f5e313c9e9e613ef6caaa3e928a
|
checksum=0d776a28bfb2b7f9cdca0336a5debc4888b224812094daf0de0e29bae9c865cf
|
||||||
conf_files="/etc/soju/config"
|
conf_files="/etc/soju/config"
|
||||||
system_accounts="_soju"
|
system_accounts="_soju"
|
||||||
make_dirs="/var/db/soju 0750 _soju _soju
|
make_dirs="/var/db/soju 0750 _soju _soju
|
||||||
/var/log/soju 0750 _soju _soju"
|
/var/log/soju 0750 _soju _soju"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
for b in znc-import migrate-db migrate-logs; do
|
||||||
|
mv "${DESTDIR}"/usr/bin/{,soju-}"$b"
|
||||||
|
done
|
||||||
for f in doc/*.?.scd; do
|
for f in doc/*.?.scd; do
|
||||||
scdoc <$f >"${f%.scd}"
|
scdoc <"${f}" >"${f%.scd}"
|
||||||
vman "${f%.scd}"
|
vman "${f%.scd}"
|
||||||
done
|
done
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vinstall $FILESDIR/config 644 etc/soju
|
vinstall "$FILESDIR"/config 644 etc/soju
|
||||||
vdoc $FILESDIR/README.voidlinux
|
vdoc "$FILESDIR"/README.voidlinux
|
||||||
vsv soju
|
vsv soju
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue