From c19b4bf36406fe36b2af9f598b5450475c411fc7 Mon Sep 17 00:00:00 2001 From: Sunny <8181990+TheLastZombie@users.noreply.github.com> Date: Sun, 8 Oct 2023 23:46:43 +0200 Subject: [PATCH] rmfm: Update to 1.5.0 (#746) --- package/rmfm/package | 15 +++++++-------- package/rmfm/path_fix.patch | 6 ++---- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/package/rmfm/package b/package/rmfm/package index 01bdfca9d..ffec3e72b 100644 --- a/package/rmfm/package +++ b/package/rmfm/package @@ -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 " -license=MIT +maintainer="Sunny " +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 } diff --git a/package/rmfm/path_fix.patch b/package/rmfm/path_fix.patch index a2cf4aef2..d8c314aef 100644 --- a/package/rmfm/path_fix.patch +++ b/package/rmfm/path_fix.patch @@ -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" -