Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rmfm: Update to 1.5.0 #746

Merged
merged 1 commit into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions package/rmfm/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,24 @@
pkgnames=(rmfm)
pkgdesc="Bare-bones file manager using Node.js and sas"
url="https://forgejo.sny.sh/sun/rmFM"
pkgver=1.4.0-3
timestamp=2022-08-19T11:20:10+02:00
pkgver=1.5.0-1
timestamp=2023-08-08T22:19:23+02:00
section=utils
maintainer="Sunny <[email protected]>"
license=MIT
maintainer="Sunny <[email protected]>"
license=Unlicense
installdepends=(node simple)

source=(
https://forgejo.sny.sh/sun/rmFM/archive/1.4.0.zip
https://forgejo.sny.sh/sun/rmFM/archive/1.5.0.zip
path_fix.patch
)
sha256sums=(
28ce80c67fecc370d11f3fe2069742c2789b388a9426fff49d269d7900ae3dc9
515cc1843bf61f628c3a0b2b2dcb3256a0182352c6b491585fd52cf96a554b26
SKIP
)

prepare() {
# Assume node to be in /opt/bin and add that directory
# to the path of the app to allow finding simple
# Assume node to be in /opt/bin
# This is a temporary fix for not working in remux
patch -d "$srcdir" < "$srcdir"/path_fix.patch
}
Expand Down
6 changes: 2 additions & 4 deletions package/rmfm/path_fix.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
diff --git a/rmfm b/rmfm
index 4571db9..172eedf 100755
index 63eeb98..b28dbd0 100755
--- a/rmfm
+++ b/rmfm
@@ -1,2 +1,3 @@
@@ -1 +1 @@
-#!/usr/bin/env node
+#!/opt/bin/node
+process.env.PATH += ":/opt/bin"