termux-packages/packages/getmail/build.sh

18 lines
601 B
Bash
Raw Normal View History

2016-03-26 07:36:46 +01:00
TERMUX_PKG_HOMEPAGE=http://pyropus.ca/software/getmail/
TERMUX_PKG_DESCRIPTION="fetchmail replacement relatively easy to configure"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=5.14
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/getmail-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f3a99fe74564237d12ca8d4582e113c067c9205b5ab640f72b4e8447606a99c1
2016-03-26 07:36:46 +01:00
TERMUX_PKG_DEPENDS="python2"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
2016-03-26 07:36:46 +01:00
termux_step_make_install() {
2019-02-12 09:23:21 +01:00
python2 setup.py install --prefix=$TERMUX_PREFIX --force
2016-03-26 07:36:46 +01:00
}
termux_step_post_massage() {
2019-02-12 09:23:21 +01:00
find . -path '*.pyc' -delete
2016-03-26 07:36:46 +01:00
}