contrib/getmail/Pkgfile

22 lines
648 B
Plaintext
Raw Normal View History

2007-02-22 11:02:58 +01:00
# Description: POP3 mail retriever with reliable Maildir and command delivery
# URL: http://pyropus.ca/software/getmail/
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
# Packager: Han Boetes, han at mijncomputer dot nl
#
# Depends on: python
name=getmail
version=4.7.2
2007-03-24 12:56:50 +01:00
release=2
2007-02-22 11:02:58 +01:00
source=(http://pyropus.ca/software/$name/old-versions/$name-$version.tar.gz
getmail.diff)
build() {
cd $name-$version
patch -i $SRC/getmail.diff
python setup.py install --root=$PKG
rm -rf $PKG/usr/share/doc
sed -i 's|#!/usr/bin/python|& -Wignore:.:DeprecationWarning:.:0|' $PKG/usr/bin/getmail
chown -R root:root $PKG
}