aboutsummaryrefslogtreecommitdiffstats
path: root/community/rspamd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rspamd/APKBUILD')
-rw-r--r--community/rspamd/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/community/rspamd/APKBUILD b/community/rspamd/APKBUILD
index 6dd7f65ede..e799a5fff0 100644
--- a/community/rspamd/APKBUILD
+++ b/community/rspamd/APKBUILD
@@ -4,7 +4,7 @@
# Contributor: TBK <alpine@jjtc.eu>
pkgname=rspamd
pkgver=1.7.8
-pkgrel=0
+pkgrel=1
pkgdesc="Fast, free and open-source spam filtering system"
url="https://rspamd.com"
arch="x86_64 x86 armhf ppc64le"
@@ -42,7 +42,7 @@ build() {
-DENABLE_HIREDIS=ON \
-DENABLE_REDIRECTOR=ON \
-DENABLE_URL_INCLUDE=ON \
- -DINSTALL_EXAMPLES=ON
+ -DINSTALL_EXAMPLES=OFF
make
}
@@ -73,11 +73,10 @@ package() {
mv "$pkgdir"/usr/bin/rspamadm-$pkgver \
"$pkgdir"/usr/bin/rspamadm
- mv "$pkgdir"/usr/share/examples \
- "$pkgdir"/usr/share/doc
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname
mv "$pkgdir"/usr/share/$pkgname/www/README.md \
"$pkgdir"/usr/share/$pkgname/www/plugins.txt \
- "$pkgdir"/usr/share/doc/$pkgname
+ "$pkgdir"/usr/share/doc/$pkgname/
}
client() {