postgresql: Update from 9.6.2 to 9.6.3
[termux-packages] / packages / corkscrew / build.sh
index 17e85a2..fc7abb3 100644 (file)
@@ -1,5 +1,12 @@
-TERMUX_PKG_HOMEPAGE=http://www.agroman.net/corkscrew/
+TERMUX_PKG_HOMEPAGE=http://wiki.linuxquestions.org/wiki/Corkscrew
 TERMUX_PKG_DESCRIPTION="A tool for tunneling SSH through HTTP proxies"
 TERMUX_PKG_DEPENDS="openssh"
 TERMUX_PKG_VERSION=2.0
-TERMUX_PKG_SRCURL=http://agroman.net/corkscrew/corkscrew-${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_SRCURL=https://dl.bintray.com/termux/upstream/corkscrew-${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_SHA256=0d0fcbb41cba4a81c4ab494459472086f377f9edb78a2e2238ed19b58956b0be
+
+termux_step_post_make_install () {
+       # Corkscrew does not distribute a man page, use one from debian:
+       mkdir -p $TERMUX_PREFIX/share/man/man1
+       cp $TERMUX_PKG_BUILDER_DIR/corkscrew.1 $TERMUX_PREFIX/share/man/man1
+}