#!/bin/sh PKGNAM=getmail VERSION=4.8.2 ARCH=noarch BUILD=1 . /etc/pkghelpers pkghelpers_env cd $TMP rm -rf getmail-$VERSION tar xzvf $CWD/getmail-$VERSION.tar.gz cd getmail-$VERSION pkghelpers_permissions python setup.py build python setup.py install --root=$PKG ( cd $PKG/usr/share mv man .. mv doc .. cd .. rmdir share ) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG pkghelpers_fixup pkghelpers_makepkg