# Description: A remote-mail retrieval utility # URL: http://www.fetchmail.info # Maintainer: protonesso, nagakamira at gmail dot com # Depends on: python libressl krb5 # Section: mail name=fetchmail version=6.4.18 release=1 source=("http://ftp.debian.org/debian/pool/main/f/fetchmail/fetchmail_${version}.orig.tar.xz") build() { cd "$SRC"/$name-$version for a in $(find . -name config.sub); do cp "$STUFF"/config.sub $a done for a in $(find . -name config.guess); do cp "$STUFF"/config.guess $a done PYTHON=python3 \ ./configure $BUILDFLAGS \ --prefix=/usr \ --with-ssl=/usr make make DESTDIR="$PKG" install install -Dm644 "$STUFF"/svc/fetchmail.service "$PKG"/usr/lib/systemd/system/fetchmail.service }