19 lines
724 B
Bash
19 lines
724 B
Bash
# Template file for 'opensmtpd-filter-rspamd'
|
|
pkgname=opensmtpd-filter-rspamd
|
|
version=0.1.7
|
|
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/archive/v${version}.tar.gz"
|
|
checksum=734733c3b672b660bcfe8f0008b09c84469f051f7381230d332265981af6f287
|
|
|
|
do_install() {
|
|
vlicense LICENSE
|
|
vmkdir /usr/libexec/opensmtpd
|
|
vinstall $(find '_build-opensmtpd-filter-rspamd-xbps/bin' -name 'filter-rspamd') 0555 /usr/libexec/opensmtpd
|
|
}
|