Compare commits

...

1 commit

Author SHA1 Message Date
2b398f15e1 upgpkg: rcedit-bin 2.0.0-4: refactor
* Refactor PKGBUILD
* Remove redundant .gitignore
2024-04-11 19:42:55 +02:00
4 changed files with 23 additions and 39 deletions

View file

@ -1,19 +1,18 @@
pkgbase = rcedit-bin
pkgdesc = Command line tool to edit resources of windows exe files
pkgver = 2.0.0
pkgrel = 3
url = https://github.com/electron/rcedit/
pkgrel = 4
url = https://github.com/electron/rcedit
arch = any
license = MIT
depends = wine
provides = rcedit
conflicts = rcedit
conflicts = rcedit-git
source = https://github.com/electron/rcedit/releases/download/v2.0.0/rcedit-x64.exe
source = https://raw.githubusercontent.com/electron/rcedit/b807b34a644c86c0b0d89c7f073967e79202731a/LICENSE
source = rcedit
sha256sums = 3e7801db1a5edbec91b49a24a094aad776cb4515488ea5a4ca2289c400eade2a
sha256sums = 224fcc506ef97afd088b487edab374abcad7e3d4de55fb8cce4f04328397213f
sha256sums = e599937ebd901f89899794ed78f1ca8fc6348efd996600f6c074cf39ef3a625e
source = https://raw.githubusercontent.com/electron/rcedit/v2.0.0/LICENSE
source = rcedit.sh
sha512sums = c13e7ffd60169c348e16a3ea59a171c1777acdb241f950c11a6e9b69c955a3a4eb3432182aee7f489a87a555d0bd51fde3b597826f7c1e6488f1f5097359ab4d
sha512sums = ca664e9ec12e6e23878c55f2b56e44fac50fc8b88c71499a4794fe3a0e8de18008c7435970628c8386410534dd5cc27af3ea5e7a818d6244f6159bc183969638
sha512sums = ce46f14c4e7c945c69fdfbc48bfd22c8241f653a974f4950d8378bb81943144f5b3ee2e49cb08a26637c46558327184c6504714f7e781f86fbf7b0c64f561bd0
pkgname = rcedit-bin

14
.gitignore vendored
View file

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

View file

@ -1,27 +1,26 @@
# Maintainer: jdigi78 <jdigiovanni78 at gmail dot com>
# Maintainer: Manuel Hüsers <aur@huesers.de>
# Contributor: jdigi78 <jdigiovanni78 at gmail dot com>
pkgname=rcedit-bin
_pkgname=${pkgname%-bin}
pkgver=2.0.0
pkgrel=3
source=("https://github.com/electron/rcedit/releases/download/v$pkgver/rcedit-x64.exe"
"https://raw.githubusercontent.com/electron/rcedit/b807b34a644c86c0b0d89c7f073967e79202731a/LICENSE"
"rcedit")
sha256sums=('3e7801db1a5edbec91b49a24a094aad776cb4515488ea5a4ca2289c400eade2a'
'224fcc506ef97afd088b487edab374abcad7e3d4de55fb8cce4f04328397213f'
'e599937ebd901f89899794ed78f1ca8fc6348efd996600f6c074cf39ef3a625e')
pkgrel=4
pkgdesc='Command line tool to edit resources of windows exe files'
arch=('any')
url='https://github.com/electron/rcedit/'
url="https://github.com/electron/${_pkgname}"
license=('MIT')
depends=('wine')
provides=('rcedit')
conflicts=('rcedit' 'rcedit-git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("https://github.com/electron/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-x64.exe"
"https://raw.githubusercontent.com/electron/${_pkgname}/v${pkgver}/LICENSE"
"${_pkgname}.sh")
sha512sums=('c13e7ffd60169c348e16a3ea59a171c1777acdb241f950c11a6e9b69c955a3a4eb3432182aee7f489a87a555d0bd51fde3b597826f7c1e6488f1f5097359ab4d'
'ca664e9ec12e6e23878c55f2b56e44fac50fc8b88c71499a4794fe3a0e8de18008c7435970628c8386410534dd5cc27af3ea5e7a818d6244f6159bc183969638'
'ce46f14c4e7c945c69fdfbc48bfd22c8241f653a974f4950d8378bb81943144f5b3ee2e49cb08a26637c46558327184c6504714f7e781f86fbf7b0c64f561bd0')
package() {
install -Dm755 "rcedit-x64.exe" "$pkgdir/opt/rcedit/rcedit-x64.exe"
install -Dm755 "rcedit" "$pkgdir/usr/bin/rcedit"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm755 "${_pkgname}-x64.exe" "${pkgdir}/opt/${_pkgname}/${_pkgname}-x64.exe"
install -Dm755 "${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}

View file