Skip to content

Commit

Permalink
electron: move to tur (#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 authored Nov 29, 2024
1 parent c436808 commit 4077d36
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tur/electron/build.sh
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
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"
}

0 comments on commit 4077d36

Please sign in to comment.