Fixed launch script
This commit is contained in:
parent
69c83dfdf5
commit
3425beb572
3 changed files with 7 additions and 14 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = rcedit-bin
|
pkgbase = rcedit-bin
|
||||||
pkgdesc = Command line tool to edit resources of exe files.
|
pkgdesc = Command line tool to edit resources of exe files.
|
||||||
pkgver = 1.1.1
|
pkgver = 1.1.1
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/electron/rcedit/
|
url = https://github.com/electron/rcedit/
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
|
@ -9,6 +9,6 @@ pkgbase = rcedit-bin
|
||||||
source = https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe
|
source = https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe
|
||||||
source = rcedit
|
source = rcedit
|
||||||
sha256sums = 02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915
|
sha256sums = 02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915
|
||||||
sha256sums = 9c32c0930c2f7c1635854696845d20cb2d421582a45cd72f60c2da4332c86b2b
|
sha256sums = 147cf514f855475edba9cd9267700b091c75ce424a8aae4bf24c339d72752766
|
||||||
|
|
||||||
pkgname = rcedit-bin
|
pkgname = rcedit-bin
|
||||||
|
|
15
PKGBUILD
15
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname=rcedit-bin
|
pkgname=rcedit-bin
|
||||||
pkgver=1.1.1
|
pkgver=1.1.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Command line tool to edit resources of exe files.'
|
pkgdesc='Command line tool to edit resources of exe files.'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='https://github.com/electron/rcedit/'
|
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"
|
source=("https://github.com/electron/rcedit/releases/download/v${pkgver}/rcedit-x64.exe"
|
||||||
'rcedit')
|
'rcedit')
|
||||||
sha256sums=('02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915'
|
sha256sums=('02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915'
|
||||||
'9c32c0930c2f7c1635854696845d20cb2d421582a45cd72f60c2da4332c86b2b')
|
'147cf514f855475edba9cd9267700b091c75ce424a8aae4bf24c339d72752766')
|
||||||
|
|
||||||
installdir="/opt/rcedit"
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -dm755 "${pkgdir}"/usr/bin/
|
install -Dm755 "${srcdir}/rcedit-x64.exe" "${pkgdir}/opt/rcedit/rcedit-x64.exe"
|
||||||
install -dm755 "${pkgdir}${installdir}"
|
install -Dm755 "${srcdir}/rcedit" "${pkgdir}/usr/bin//rcedit"
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
}
|
||||||
|
|
2
rcedit
2
rcedit
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec wine rcedit-x64.exe "$@"
|
exec wine /opt/rcedit/rcedit-x64.exe "$@"
|
||||||
|
|
Loading…
Reference in a new issue