blob: 81bc2982b51ddb0045b60c02205ac3f6c1f904ff (
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
44
|
# Maintainer: Adrian Schmitz <zetabite.horzion@gmail.com>
pkgname=irony-mod-manager-bin
pkgver=1.26.201
pkgrel=1
pkgdesc="A mod manager and launcher for Paradox Interactive games"
arch=('x86_64')
url="https://github.com/bcssov/IronyModManager"
license=('MIT')
depends=("fontconfig" "bash" "zlib" "krb5" "lttng-ust" "imagemagick")
source=("$pkgname-$pkgver.zip::https://github.com/bcssov/IronyModManager/releases/download/v$pkgver/linux-x64.zip"
"$pkgname.png::https://raw.githubusercontent.com/bcssov/IronyModManager/v$pkgver/src/IronyModManager/Assets/logo.png"
"$pkgname.desktop"
"$pkgname.sh"
"$pkgname.README.md"
"disable-update.patch")
sha256sums=('ece8358ee02dbe3435f9f5c0429001f8da6726abf9ccb3c414e66b88376eb8c3'
'3986b286a65add808bcd9be696501e685c4ee712b2c25139449bb282263e7e47'
'43c8454a1d74fa0f0d2bdeae41836c5a73c079d1fb915c3fd709086d119c87a7'
'bf522e178388d52f959348e0a0406a37ff16181b50eb848398a753cd6ebe1237'
'acbb98b22127ec04aec858d1fd6767526eb78c6a10b3e091f040dfe503b29a8e'
'410a519bc535314e0779445649d3b83588336696854e9f87830fe3233be8a557')
noextract=("$pkgname-$pkgver.zip")
prepare() {
mkdir -p $pkgname-$pkgver && bsdtar -xf $pkgname-$pkgver.zip -C $pkgname-$pkgver
}
package() {
mkdir -p "$pkgdir/opt/$pkgname"
mkdir -p "$pkgdir/usr/bin"
cd "$srcdir/$pkgname-$pkgver/"
patch "appSettings.json" < "$srcdir/disable-update.patch"
cp -R "$srcdir/$pkgname-$pkgver" -T "$pkgdir/opt/$pkgname/"
install -m644 -D "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -m644 -D "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -m644 -D "$srcdir/$pkgname.README.md" "$pkgdir/opt/$pkgname/README.md"
install -m644 -D "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -m755 -D "$srcdir/$pkgname-$pkgver/IronyModManager" "$pkgdir/opt/$pkgname/IronyModManager"
install -m755 -D "$srcdir/$pkgname-$pkgver/IronyModManager.GameHandler" "$pkgdir/opt/$pkgname/IronyModManager.GameHandler"
install -m755 -D "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
}
|