Fixed launch script

This commit is contained in:
Joseph DiGiovanni 2023-09-24 11:07:22 -04:00
parent 69c83dfdf5
commit 3425beb572
3 changed files with 7 additions and 14 deletions

View file

@ -1,7 +1,7 @@
pkgbase = rcedit-bin
pkgdesc = Command line tool to edit resources of exe files.
pkgver = 1.1.1
pkgrel = 1
pkgrel = 2
url = https://github.com/electron/rcedit/
arch = any
license = MIT
@ -9,6 +9,6 @@ pkgbase = rcedit-bin
source = https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe
source = rcedit
sha256sums = 02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915
sha256sums = 9c32c0930c2f7c1635854696845d20cb2d421582a45cd72f60c2da4332c86b2b
sha256sums = 147cf514f855475edba9cd9267700b091c75ce424a8aae4bf24c339d72752766
pkgname = rcedit-bin

View file

@ -2,7 +2,7 @@
pkgname=rcedit-bin
pkgver=1.1.1
pkgrel=1
pkgrel=2
pkgdesc='Command line tool to edit resources of exe files.'
arch=('any')
url='https://github.com/electron/rcedit/'
@ -11,16 +11,9 @@ depends=('wine')
source=("https://github.com/electron/rcedit/releases/download/v${pkgver}/rcedit-x64.exe"
'rcedit')
sha256sums=('02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915'
'9c32c0930c2f7c1635854696845d20cb2d421582a45cd72f60c2da4332c86b2b')
installdir="/opt/rcedit"
'147cf514f855475edba9cd9267700b091c75ce424a8aae4bf24c339d72752766')
package() {
install -dm755 "${pkgdir}"/usr/bin/
install -dm755 "${pkgdir}${installdir}"
install -Dm755 "${srcdir}/rcedit-x64.exe" "${pkgdir}${installdir}/rcedit-x64.exe"
install -Dm755 "${srcdir}/rcedit" "${pkgdir}${installdir}/rcedit"
ln -s "${installdir}/rcedit" "${pkgdir}/usr/bin/rcedit"
install -Dm755 "${srcdir}/rcedit-x64.exe" "${pkgdir}/opt/rcedit/rcedit-x64.exe"
install -Dm755 "${srcdir}/rcedit" "${pkgdir}/usr/bin//rcedit"
}

2
rcedit
View file

@ -1,2 +1,2 @@
#!/bin/sh
exec wine rcedit-x64.exe "$@"
exec wine /opt/rcedit/rcedit-x64.exe "$@"