termux-packages/packages/hollywood/build.sh

20 lines
1.0 KiB
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://launchpad.net/hollywood
TERMUX_PKG_DESCRIPTION="Fill your console with Hollywood melodrama technobabble"
TERMUX_PKG_LICENSE="Apache-2.0"
2020-03-12 18:10:54 +01:00
TERMUX_PKG_VERSION=1.21
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://launchpad.net/hollywood/trunk/${TERMUX_PKG_VERSION}/+download/hollywood_${TERMUX_PKG_VERSION}.orig.tar.gz
2020-03-12 18:10:54 +01:00
TERMUX_PKG_SHA256=793ef1f022b376e131c75e05ff1b55a010c0f4193225bb79018855cb9ab89acb
TERMUX_PKG_DEPENDS="bmon, byobu, cmatrix, coreutils, dash, gawk, htop, man, tree, util-linux"
TERMUX_PKG_RECOMMENDS="apg"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make_install() {
install -dm0700 "$TERMUX_PREFIX"/{bin,lib/hollywood,share/{man/man1,hollywood}}
install -m 0700 "$TERMUX_PKG_SRCDIR"/bin/hollywood "$TERMUX_PREFIX"/bin/
install -m 0700 "$TERMUX_PKG_SRCDIR"/lib/hollywood/* "$TERMUX_PREFIX"/lib/hollywood/
install -m 0600 "$TERMUX_PKG_SRCDIR"/share/hollywood/* "$TERMUX_PREFIX"/share/hollywood/
install -m 0600 "$TERMUX_PKG_SRCDIR"/share/man/man1/* "$TERMUX_PREFIX"/share/man/man1/
}