bogofilter: tweak Pkgfile

This commit is contained in:
Steffen Nurpmeso 2021-02-08 23:16:13 +01:00
parent 4601c2f567
commit 786fe3e63b
2 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -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
}