[crux-commits] ports/contrib (refs/remotes/origin/3.6): bogofilter: tweak Pkgfile

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:53 UTC 2021


commit 786fe3e63b2dc49de1c048bd18a3aeb97f75c8d3
Author: Steffen Nurpmeso <steffen at sdaoden.eu>
Date:   Mon Feb 8 23:16:13 2021 +0100

    bogofilter: tweak Pkgfile

diff --git a/bogofilter-lmdb/.signature b/bogofilter-lmdb/.signature
index 1fbbf9afd..1cba2dda5 100644
--- a/bogofilter-lmdb/.signature
+++ b/bogofilter-lmdb/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3zqJqqb9kUN24aNdk8t2RTiIUUq7Gf13DeM3HSOmrbhWJcpwXf4BAFToWQVI1t9IunAYg8cQlG9ODQBdl1cj9Ak=
-SHA256 (Pkgfile) = 9933862bea8db313ee7f8351a8467cae956254a156c790ab70d0c80b281e0462
+RWSagIOpLGJF34IdUSW+4r/b8TKhToHksHlnqVI0qnGjgsK6jEKuV8Befvx9v5EQdGEGn18wISVcH096kbx/in5o9SoByfCjkQY=
+SHA256 (Pkgfile) = 4bb948e3fc028baa2aa322481ec0f5958dcc753a28a377b9177fc40a26359e87
 SHA256 (.footprint) = 51b3926e47109fac99e34b9db99d1edc913ade1aa9e5ad69b0d030124fd5030b
 SHA256 (bogofilter-1.2.5.tar.xz) = 3248a1373bff552c500834adbea4b6caee04224516ae581fb25a4c6a6dee89ea
diff --git a/bogofilter-lmdb/Pkgfile b/bogofilter-lmdb/Pkgfile
index bafd66a2c..961456fcb 100644
--- a/bogofilter-lmdb/Pkgfile
+++ b/bogofilter-lmdb/Pkgfile
@@ -7,17 +7,20 @@ name=bogofilter-lmdb
 version=1.2.5
 release=1
 realn=bogofilter
-source=(https://downloads.sourceforge.net/project/${realn}/${realn}-stable/${realn}-${version}.tar.xz)
+source=(
+   https://downloads.sourceforge.net/project/\
+${realn}/${realn}-stable/${realn}-${version}.tar.xz
+)
 
 build() {
    cd ${realn}-${version}
 
    ./configure --prefix=/usr --sysconfdir=/usr/etc --with-database=lmdb
-   make DESTDIR="$PKG" install
+   make DESTDIR="${PKG}" install
 
    # Fix manual misconversion? a bit
-   for f in `find "$PKG"/usr/share/man -type f`; do
-      sed -i -E -e 's/^[[:space:]]+(\.[[:alpha:]].+)$/\1/' $f
+   for f in `find "${PKG}"/usr/share/man -type f`; do
+      sed -i -E -e 's/^[[:space:]]+(\.[[:alpha:]].+)$/\1/' "${f}"
    done
 }
 


More information about the crux-commits mailing list