From 4077d36d85cc3936984bbdc9aa875340ed0b9dba Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Sat, 30 Nov 2024 02:24:04 +0800 Subject: [PATCH] electron: move to tur (#1345) --- tur/electron/build.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tur/electron/build.sh diff --git a/tur/electron/build.sh b/tur/electron/build.sh new file mode 100644 index 000000000..2ba792279 --- /dev/null +++ b/tur/electron/build.sh @@ -0,0 +1,15 @@ +TERMUX_PKG_HOMEPAGE=https://github.com/electron/electron +TERMUX_PKG_DESCRIPTION="A metapackage that provides electron" +TERMUX_PKG_LICENSE="Public Domain" +TERMUX_PKG_MAINTAINER="Chongyun Lee " +TERMUX_PKG_VERSION=26 +TERMUX_PKG_PLATFORM_INDEPENDENT=true +TERMUX_PKG_SKIP_SRC_EXTRACT=true +TERMUX_PKG_METAPACKAGE=true + +termux_step_make_install() { + ln -sf $TERMUX_PREFIX/lib/electron$TERMUX_PKG_VERSION $TERMUX_PREFIX/lib/electron + ln -sf $TERMUX_PREFIX/lib/electron$TERMUX_PKG_VERSION/electron $TERMUX_PREFIX/bin/electron + + TERMUX_PKG_DEPENDS="electron$TERMUX_PKG_VERSION" +}