termux-packages/packages/hollywood/build.sh
marcusz ce99a04eab
move and update htop to 3.0.5 from root-repo (#9998)
package `htop` will be merged into one and should be usable for all users while keeping it up-to-date
2022-04-15 15:36:10 +08:00

21 lines
1.1 KiB
Bash

TERMUX_PKG_HOMEPAGE=https://launchpad.net/hollywood
TERMUX_PKG_DESCRIPTION="Fill your console with Hollywood melodrama technobabble"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.21
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://launchpad.net/hollywood/trunk/${TERMUX_PKG_VERSION}/+download/hollywood_${TERMUX_PKG_VERSION}.orig.tar.gz
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/
}