blob: c7ac4214f9bbe58f08651376e6221da0778e376d (
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
|
# Maintainer: Grant Moyer <grantmoyer@gmail.com>
# Co-Maintainer: Tomas S. <me+aur at wereii.cz>
pkgname=foundryvtt
pkgver=12.331
pkgrel=1
pkgdesc="A self-hosted, modern, and developer-friendly roleplaying platform"
arch=('x86_64')
url="https://foundryvtt.com/"
license=('custom')
# FoundryVTT archive must be downloaded from https://foundryvtt.com/community/<usename>/licenses
options=(!strip)
source=(
"FoundryVTT-$pkgver.zip::local://FoundryVTT-$pkgver.zip"
"foundryvtt.desktop"
)
sha256sums=(
'1f82297e5124c2c99e0c039d5562db861e22dc5ef385361d3993c54f7e07f278'
'eb6d09ea176748a0e9b3a0ebb2aa3f2bca23e5f082ed676edd9fd8bf6b0ebbcb'
)
package() {
install -m755 -d "$pkgdir/opt/$pkgname"
install -m755 -d "$pkgdir/usr/bin"
install -m644 -D -t "$pkgdir/usr/share/licenses/$pkgname/" "resources/app/license.html"
install -m644 -D -t "$pkgdir/usr/share/applications/" "foundryvtt.desktop"
cp -r * "$pkgdir/opt/$pkgname"
rm "$pkgdir/opt/$pkgname/${source[0]/::*/}"
ln -s "/opt/$pkgname/foundryvtt" "$pkgdir/usr/bin/foundryvtt"
}
|