contrib/imapfilter/Pkgfile

19 lines
531 B
Plaintext
Raw Normal View History

# Description: IMAP mail filtering utility
# URL: https://github.com/lefcha/imapfilter
# Maintainer: Tim Biermann, tbier at posteo dot de
2020-11-11 09:15:57 +01:00
# Depends on: lua libpcre2
name=imapfilter
2023-01-11 22:09:37 +01:00
version=2.8.1
release=1
source=(https://github.com/lefcha/imapfilter/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
sed -i "s/MYCFLAGS =/MYCFLAGS=${CFLAGS}/" src/Makefile
sed -i "s/MYLDFLAGS =/MYLDFLAGS=${LDFLAGS}/" src/Makefile
make PREFIX=/usr all
make PREFIX=/usr DESTDIR="$PKG/" MANDIR=/usr/share/man install
}