void-packages/srcpkgs/opensmtpd-filter-rspamd/template

19 lines
690 B
Bash

# Template file for 'opensmtpd-filter-rspamd'
pkgname=opensmtpd-filter-rspamd
version=0.1.8
revision=1
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=42b3e8d35feac813e695245b55c552126728de1a3219fb4dc64c62935f831f29
do_install() {
vlicense LICENSE
vmkdir /usr/libexec/opensmtpd
vinstall $(find '_build-opensmtpd-filter-rspamd-xbps/bin' -name 'filter-rspamd') 0555 /usr/libexec/opensmtpd
}