From 69c83dfdf5ae5662d95204c682bb97d87005ebdf Mon Sep 17 00:00:00 2001 From: Joseph DiGiovanni Date: Sun, 24 Sep 2023 10:51:52 -0400 Subject: [PATCH] Initial commit --- .SRCINFO | 14 ++++++++++++++ .gitignore | 13 +++++++++++++ PKGBUILD | 26 ++++++++++++++++++++++++++ rcedit | 2 ++ 4 files changed, 55 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD create mode 100755 rcedit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..25c7aa5 --- /dev/null +++ b/.SRCINFO @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b739055 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..4e26813 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: jdigi78 + +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" +} diff --git a/rcedit b/rcedit new file mode 100755 index 0000000..6a083fa --- /dev/null +++ b/rcedit @@ -0,0 +1,2 @@ +#!/bin/sh +exec wine rcedit-x64.exe "$@"