arch-packages/PKGBUILD

25 lines
921 B
Text
Raw Normal View History

2023-09-24 16:51:52 +02:00
# Maintainer: jdigi78 <jdigiovanni78@gmail.com>
pkgname=rcedit-bin
pkgver=1.1.1
2023-10-20 05:59:53 +02:00
pkgrel=4
2023-09-24 16:51:52 +02:00
pkgdesc='Command line tool to edit resources of exe files.'
arch=('any')
url='https://github.com/electron/rcedit/'
license=('MIT')
depends=('wine')
2023-10-20 05:59:53 +02:00
2023-09-24 16:51:52 +02:00
source=("https://github.com/electron/rcedit/releases/download/v${pkgver}/rcedit-x64.exe"
2023-10-20 05:59:53 +02:00
"https://raw.githubusercontent.com/electron/rcedit/b807b34a644c86c0b0d89c7f073967e79202731a/LICENSE"
"rcedit")
2023-09-24 16:51:52 +02:00
sha256sums=('02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915'
2023-10-20 05:59:53 +02:00
'224fcc506ef97afd088b487edab374abcad7e3d4de55fb8cce4f04328397213f'
2023-09-24 17:30:34 +02:00
'4d42d20aafe098f9403db50ab804070c9710d57f07462eef98ee5a77976e2d17')
2023-09-24 16:51:52 +02:00
package() {
2023-10-20 05:59:53 +02:00
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"
2023-09-24 16:51:52 +02:00
}