blob: 3a56a90ab3727bffcdc1d1bce12d4e5606eeb729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: gigas002 <gigas002@pm.me>
pkgname=wowup-cf-bin
_pkgname=wowup-cf
pkgver=2.9.4beta5
pkgrel=1
pkgdesc="WowUp the World of Warcraft addon updater (with CurseForge support)"
arch=(x86_64)
url="https://github.com/WowUp/WowUp.CF"
license=("GPL3")
depends=(zlib)
provides=("$_pkgname")
conflicts=("$_pkgname")
options=(!strip)
source=(
"WowUp-CF-${pkgver}.AppImage::https://github.com/WowUp/WowUp.CF/releases/download/v${pkgver//beta/-beta.}/WowUp-CF-${pkgver//beta/-beta.}.AppImage"
"https://raw.githubusercontent.com/WowUp/WowUp.CF/main/wowup-electron/assets/wowup_logo_cf.png"
"https://raw.githubusercontent.com/WowUp/WowUp.CF/main/LICENSE"
"${_pkgname}.desktop"
"${_pkgname}"
)
noextract=("WowUp-CF-${pkgver}.AppImage")
sha256sums=('34011afd3968ae345a7dbe887732c38b7aa499ffe514ceb3103b8418582dbecd'
'fa00185ae0733121ca059bb0775486d7029446f9325d1bb666fc041a7ad965be'
'3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986'
'718fc1392ad1e83b4ca4b6f0b1ca20fbb7265442230dd444433e69bed4659394'
'058b56582411b4ca5873fbbe7f402037df803e8ead9810ca8e0dda3422346dc5')
package() {
cd "$srcdir"
# Install binary and launch script
install -Dm755 "WowUp-CF-${pkgver}.AppImage" "$pkgdir/opt/$_pkgname/$_pkgname.AppImage"
install -Dm755 -t "$pkgdir/usr/bin" $_pkgname
# Install pixmap, desktop and license file
install -Dm644 wowup_logo_cf.png "$pkgdir/usr/share/pixmaps/wowup_logo_cf.png"
install -Dm644 -t "$pkgdir/usr/share/applications" $_pkgname.desktop
install -Dm644 -t "$pkgdir/usr/share/licenses/$_pkgname" LICENSE
}
|