blob: 6b6c856033b6ee2fe010a5739b5365a1c2158ac5 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Maintainer: snowkeep <novus+amsel at snowkeep dot ca>
amsel_repo='https://github.com/OllamTechnologies'
launcher_rel='launcher-releases/releases/download'
lore_rel='lore-releases/releases/download'
tome_rel='tome-releases/releases/download'
launcherVer=1.9.2
loreVer=1.11.4
tomeVer=1.11.4
pkgname=amsel_suite-bin
pkgdesc="TTRPG Game Master companion"
pkgver=${launcherVer}_L${loreVer//.}_T${tomeVer//.}
pkgrel=1
arch=('x86_64')
url='https://www.amsel-suite.com/'
license=('custom: commercial')
depends=('at-spi2-core' 'desktop-file-utils' 'libdrm' 'libnotify' 'nss' 'xdg-utils')
optdepends=('alsa-lib' 'gvfs' 'trash-cli' 'pulseaudio')
provides=('amsel_suite' 'amsel_launcher' 'amsel_lore' 'amsel_tome')
conflicts=("amsel_suite")
source=(
"${amsel_repo}/${launcher_rel}/v${launcherVer}/Amsel.Suite-${launcherVer}-x64.AppImage"
"${amsel_repo}/${lore_rel}/v${loreVer}/Lore-linux-x64-${loreVer}.zip"
"${amsel_repo}/${tome_rel}/v${tomeVer}/Tome-linux-x64-${tomeVer}.zip"
"amsel-suite"
"Amsel Suite.desktop"
"amsel-suite.png"
)
sha256sums=('a57e69bc726864be834b4d17efd7b6d796022ff4a15d46b9ffe118a9ff0ccab1'
'642eed9f19832d8538e8dc9de0dab6fd2d7521b8da5d92a01f30fc6de13b7f24'
'819e3c113fe32d372f06dd28eb5e7c7f181a4913b1542c66db6812d7943b0e06'
'122c11f8213a170291184d011670c2ef6c2cc8375bc3fc4a7b933a9e46162978'
'7cf890499f561081990c13ad95e47541317009cbae1f17baded40df1e3c4cfac'
'62ed78846e3ce8269e4a6d1475b76b82c713d0db3d53b98b7b99cbf6386c3aaf')
prepare() {
chmod u+x ${srcdir}/Amsel.Suite-${launcherVer}-x64.AppImage
${srcdir}/Amsel.Suite-${launcherVer}-x64.AppImage --appimage-extract
}
package() {
# install the custom files
install -Dm755 amsel-suite ${pkgdir}/usr/bin/amsel-suite
install -Dm755 amsel-suite ${pkgdir}/opt/amsel/amsel-suite
install -Dm644 Amsel\ Suite.desktop ${pkgdir}/usr/share/applications/Amsel\ Suite.desktop
install -Dm644 amsel-suite.png ${pkgdir}/usr/share/pixmaps/amsel-suite.png
# copy the launcher
cp -r ${srcdir}/squashfs-root/usr/lib/launcher ${pkgdir}/opt/amsel
# copy the utilities
mv ${srcdir}/Lore-linux-x64 ${pkgdir}/opt/amsel/Lore
chmod 755 ${pkgdir}/opt/amsel/Lore
mv ${srcdir}/Tome-linux-x64 ${pkgdir}/opt/amsel/Tome
chmod 755 ${pkgdir}/opt/amsel/Tome
}
|