Merge pull request #7912 from TxGVNN/packages/dtach

Add package dtach-0.9
This commit is contained in:
Leonid Pliushch 2021-11-02 12:27:47 +02:00 committed by GitHub
commit 3a958c35ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
packages/dtach/build.sh Normal file
View File

@ -0,0 +1,12 @@
TERMUX_PKG_HOMEPAGE=http://dtach.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Emulates the detach feature of screen"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.9
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/sourceforge/dtach/dtach-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=32e9fd6923c553c443fab4ec9c1f95d83fa47b771e6e1dafb018c567291492f3
termux_step_make_install() {
install -Dm700 -t ${TERMUX_PREFIX}/bin dtach
install -Dm600 -t ${TERMUX_PREFIX}/share/man/man1 ${TERMUX_PKG_SRCDIR}/dtach.1
}