blob: 147127a0db286e6cfa169fa9cfa58ca36c841aa2 (
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
42
43
|
# Maintainer: HcgRandon <me@randon.moe>
pkgname=pokerogue-app-bin
pkgver=2.4.6
pkgrel=1
pkgdesc="Admiral-Billy's Pokerogue App"
arch=('x86_64')
url="https://github.com/Admiral-Billy/Pokerogue-App"
license=('MIT')
source=("${pkgname}-${pkgver}.zip::https://github.com/Admiral-Billy/Pokerogue-App/releases/download/v${pkgver}/PokeRogue-Linux.zip"
"https://pokerogue.net/logo512.png"
"pokerogue.sh"
"pokerogue.desktop")
noextract=("${pkgname}-${pkgver}.zip")
sha256sums=('3a3b5a28944ad1fe840bce7c1762879f63c78c5cab7a05d8a3deef50de5b233e'
'01d67ae770ecd1d74223bd750a43ab1d22942607eb4a24fbf9ba2ba69e2e2859'
'003155b0691d4222c72dc4d24f398b849690d073938cbd05e38ca0a9bd5ad83c'
'116c567e84c8a3cfa46fb6d0bad12e63d808a5d3056c6d66867707d200dba7c7')
build() {
cd "$srcdir"
mkdir -p pokerogue
bsdtar -xf "${pkgname}-${pkgver}.zip" -C pokerogue
}
package() {
cd "$srcdir/pokerogue"
# Create the install directory
install -dm755 "$pkgdir/usr/share/pokerogue"
# Copy all files to the target directory
cp -r ./* "$pkgdir/usr/share/pokerogue/"
# Install launcher script
install -Dm755 "$srcdir/pokerogue.sh" "$pkgdir/usr/bin/pokerogue"
# Install the .desktop file
install -Dm644 "$srcdir/pokerogue.desktop" "$pkgdir/usr/share/applications/pokerogue.desktop"
# Install icon
install -Dm644 "$srcdir/logo512.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/pokerogue.png"
}
|