mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
82d5eea5b7
This commit has been automatically submitted by Github Actions.
28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/TheLocehiliosan/yadm
|
|
TERMUX_PKG_DESCRIPTION="Yet Another Dotfiles Manager"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="3.3.0"
|
|
TERMUX_PKG_SRCURL=https://github.com/TheLocehiliosan/yadm/archive/$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=a977836ee874fece3d69b5a8f7436e6ce4e6bf8d2520f8517c128281cc6b101d
|
|
TERMUX_PKG_DEPENDS="git"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
|
|
|
termux_step_make() {
|
|
# Do not try to run 'make' as it causes a build failure.
|
|
return
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 "$TERMUX_PKG_SRCDIR"/yadm "$TERMUX_PREFIX"/bin/
|
|
install -Dm600 "$TERMUX_PKG_SRCDIR"/yadm.1 "$TERMUX_PREFIX"/share/man/man1/
|
|
install -Dm600 "$TERMUX_PKG_SRCDIR"/completion/bash/yadm \
|
|
"$TERMUX_PREFIX"/share/bash-completion/completions/yadm
|
|
install -Dm600 "$TERMUX_PKG_SRCDIR"/completion/zsh/_yadm \
|
|
"$TERMUX_PREFIX"/share/zsh/site-functions/_yadm
|
|
install -Dm600 "$TERMUX_PKG_SRCDIR"/completion/fish/yadm.fish \
|
|
"$TERMUX_PREFIX"/share/fish/vendor_completions.d/yadm.fish
|
|
}
|