getmail: Use python2, not python
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 14 Apr 2016 13:25:34 +0000 (09:25 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 14 Apr 2016 13:25:34 +0000 (09:25 -0400)
This is needed since python is python3 in Termux.

packages/getmail/build.sh

index c94e63b..1c3621d 100644 (file)
@@ -1,13 +1,14 @@
 TERMUX_PKG_HOMEPAGE=http://pyropus.ca/software/getmail/
 TERMUX_PKG_DESCRIPTION="fetchmail replacement relatively easy to configure"
 TERMUX_PKG_VERSION=4.49.0
+TERMUX_PKG_BUILD_REVISION=1
 TERMUX_PKG_SRCURL=http://pyropus.ca/software/getmail/old-versions/getmail-${TERMUX_PKG_VERSION}.tar.gz
 TERMUX_PKG_DEPENDS="python2"
 TERMUX_PKG_BUILD_IN_SRC=yes
 TERMUX_PKG_PLATFORM_INDEPENDENT=yes
 
 termux_step_make_install () {
-        python setup.py install --prefix=$TERMUX_PREFIX --force
+        python2 setup.py install --prefix=$TERMUX_PREFIX --force
 }
 
 termux_step_post_massage () {