Initial commit

This commit is contained in:
Joseph DiGiovanni 2023-09-24 10:51:52 -04:00
commit 69c83dfdf5
4 changed files with 55 additions and 0 deletions

14
.SRCINFO Normal file
View File

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

13
.gitignore vendored Normal file
View File

@ -0,0 +1,13 @@
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/

26
PKGBUILD Normal file
View File

@ -0,0 +1,26 @@
# Maintainer: jdigi78 <jdigiovanni78@gmail.com>
pkgname=rcedit-bin
pkgver=1.1.1
pkgrel=1
pkgdesc='Command line tool to edit resources of exe files.'
arch=('any')
url='https://github.com/electron/rcedit/'
license=('MIT')
depends=('wine')
source=("https://github.com/electron/rcedit/releases/download/v${pkgver}/rcedit-x64.exe"
'rcedit')
sha256sums=('02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915'
'9c32c0930c2f7c1635854696845d20cb2d421582a45cd72f60c2da4332c86b2b')
installdir="/opt/rcedit"
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"
}

2
rcedit Executable file
View File

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