diff --git a/.SRCINFO b/.SRCINFO index f45ce19..9ed1b2b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,14 +1,16 @@ pkgbase = rcedit-bin pkgdesc = Command line tool to edit resources of exe files. pkgver = 1.1.1 - pkgrel = 3 + pkgrel = 4 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 = https://raw.githubusercontent.com/electron/rcedit/b807b34a644c86c0b0d89c7f073967e79202731a/LICENSE source = rcedit sha256sums = 02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915 + sha256sums = 224fcc506ef97afd088b487edab374abcad7e3d4de55fb8cce4f04328397213f sha256sums = 4d42d20aafe098f9403db50ab804070c9710d57f07462eef98ee5a77976e2d17 pkgname = rcedit-bin diff --git a/.gitignore b/.gitignore index b739055..b388f09 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ pkg/ src/ +LICENSE diff --git a/PKGBUILD b/PKGBUILD index 0ff6ae4..2555c1b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,18 +2,23 @@ pkgname=rcedit-bin pkgver=1.1.1 -pkgrel=3 +pkgrel=4 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') + "https://raw.githubusercontent.com/electron/rcedit/b807b34a644c86c0b0d89c7f073967e79202731a/LICENSE" + "rcedit") + sha256sums=('02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915' + '224fcc506ef97afd088b487edab374abcad7e3d4de55fb8cce4f04328397213f' '4d42d20aafe098f9403db50ab804070c9710d57f07462eef98ee5a77976e2d17') package() { - install -Dm755 "${srcdir}/rcedit-x64.exe" "${pkgdir}/opt/rcedit/rcedit-x64.exe" - install -Dm755 "${srcdir}/rcedit" "${pkgdir}/usr/bin//rcedit" + 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" }