From be400f3ecd941375af1f5458cd91c63418e5f1c7 Mon Sep 17 00:00:00 2001 From: Joseph DiGiovanni Date: Tue, 19 Dec 2023 02:02:59 -0500 Subject: [PATCH] Update launch script Hide wine-mono install message --- .SRCINFO | 7 +++++-- PKGBUILD | 19 +++++++++++-------- rcedit | 1 + 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index fd9b18e..c3c9ec3 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,19 @@ pkgbase = rcedit-bin pkgdesc = Command line tool to edit resources of windows exe files pkgver = 2.0.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/electron/rcedit/ arch = any license = MIT depends = wine + provides = rcedit + conflicts = rcedit + conflicts = rcedit-git source = https://github.com/electron/rcedit/releases/download/v2.0.0/rcedit-x64.exe source = https://raw.githubusercontent.com/electron/rcedit/b807b34a644c86c0b0d89c7f073967e79202731a/LICENSE source = rcedit sha256sums = 3e7801db1a5edbec91b49a24a094aad776cb4515488ea5a4ca2289c400eade2a sha256sums = 224fcc506ef97afd088b487edab374abcad7e3d4de55fb8cce4f04328397213f - sha256sums = 4d42d20aafe098f9403db50ab804070c9710d57f07462eef98ee5a77976e2d17 + sha256sums = 51ff67860d12a15d52794cd2fd1d1d8bd751ad30cc111890e940f6dd4c7cb84b pkgname = rcedit-bin diff --git a/PKGBUILD b/PKGBUILD index 1bee8e7..6e642da 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,12 +2,7 @@ pkgname=rcedit-bin pkgver=2.0.0 -pkgrel=1 -pkgdesc='Command line tool to edit resources of windows exe files' -arch=('any') -url='https://github.com/electron/rcedit/' -license=('MIT') -depends=('wine') +pkgrel=2 source=("https://github.com/electron/rcedit/releases/download/v$pkgver/rcedit-x64.exe" "https://raw.githubusercontent.com/electron/rcedit/b807b34a644c86c0b0d89c7f073967e79202731a/LICENSE" @@ -15,10 +10,18 @@ source=("https://github.com/electron/rcedit/releases/download/v$pkgver/rcedit-x6 sha256sums=('3e7801db1a5edbec91b49a24a094aad776cb4515488ea5a4ca2289c400eade2a' '224fcc506ef97afd088b487edab374abcad7e3d4de55fb8cce4f04328397213f' - '4d42d20aafe098f9403db50ab804070c9710d57f07462eef98ee5a77976e2d17') + '51ff67860d12a15d52794cd2fd1d1d8bd751ad30cc111890e940f6dd4c7cb84b') + +pkgdesc='Command line tool to edit resources of windows exe files' +arch=('any') +url='https://github.com/electron/rcedit/' +license=('MIT') +depends=('wine') +provides=('rcedit') +conflicts=('rcedit' 'rcedit-git') package() { install -Dm755 "rcedit-x64.exe" "$pkgdir/opt/rcedit/rcedit-x64.exe" - install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm755 "rcedit" "$pkgdir/usr/bin/rcedit" + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/rcedit b/rcedit index d1e527c..e967df7 100755 --- a/rcedit +++ b/rcedit @@ -1,3 +1,4 @@ #!/bin/sh export WINEDEBUG=-all +export WINEDLLOVERRIDES="mscoree=" exec wine /opt/rcedit/rcedit-x64.exe "$@"