2019-09-08 16:08:35 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/TheLocehiliosan/yadm
|
|
|
|
TERMUX_PKG_DESCRIPTION="Yet Another Dotfiles Manager"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-16 12:32:44 +02:00
|
|
|
TERMUX_PKG_VERSION=3.2.1
|
2019-09-08 16:08:35 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/TheLocehiliosan/yadm/archive/$TERMUX_PKG_VERSION.tar.gz
|
2022-04-16 12:32:44 +02:00
|
|
|
TERMUX_PKG_SHA256=6b7e0b32bdca074cbf36e64d8dd528f37c05ce0786fec1099cf374d81cd7d68e
|
2019-09-08 16:08:35 +02:00
|
|
|
TERMUX_PKG_DEPENDS="git"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2022-04-16 12:32:44 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
2019-09-08 16:08:35 +02:00
|
|
|
|
|
|
|
termux_step_make() {
|
2020-08-10 14:39:36 +02:00
|
|
|
# Do not try to run 'make' as it causes a build failure.
|
2019-09-08 16:08:35 +02:00
|
|
|
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/
|
2021-08-03 21:35:23 +02:00
|
|
|
install -Dm600 "$TERMUX_PKG_SRCDIR"/completion/bash/yadm \
|
2021-08-03 22:06:51 +02:00
|
|
|
"$TERMUX_PREFIX"/share/bash-completion/completions/yadm
|
2021-08-03 21:35:23 +02:00
|
|
|
install -Dm600 "$TERMUX_PKG_SRCDIR"/completion/zsh/_yadm \
|
2021-08-03 22:06:51 +02:00
|
|
|
"$TERMUX_PREFIX"/share/zsh/site-functions/_yadm
|
2021-08-03 21:35:23 +02:00
|
|
|
install -Dm600 "$TERMUX_PKG_SRCDIR"/completion/fish/yadm.fish \
|
2022-01-26 14:26:48 +01:00
|
|
|
"$TERMUX_PREFIX"/share/fish/vendor_completions.d/yadm.fish
|
2019-09-08 16:08:35 +02:00
|
|
|
}
|