19 lines
758 B
Bash
19 lines
758 B
Bash
# Template file for 'opensmtpd-filter-rspamd'
|
|
pkgname=opensmtpd-filter-rspamd
|
|
version=0.1.6
|
|
revision=1
|
|
wrksrc="filter-rspamd-${version}"
|
|
build_style=go
|
|
go_import_path="github.com/poolpOrg/filter-rspamd"
|
|
short_desc="Filter incoming mail based on sender reputation"
|
|
maintainer="Lucas L. Treffenstädt <lucas@treffenstaedt.de>"
|
|
license="ISC"
|
|
homepage="https://github.com/poolpOrg/filter-rspamd"
|
|
distfiles="https://github.com/poolpOrg/filter-rspamd/releases/download/${version}/filter-rspamd-${version}.tar.gz"
|
|
checksum=6218b4a33b88a3da2642b9ff91f33ccf9a7b5ae019107aed520ba332ebafb381
|
|
|
|
do_install() {
|
|
vlicense LICENSE
|
|
vmkdir /usr/libexec/opensmtpd
|
|
vinstall $(find '_build-opensmtpd-filter-rspamd-xbps/bin' -name 'filter-rspamd') 0555 /usr/libexec/opensmtpd
|
|
}
|