voundryvtt: add package

This commit is contained in:
2020-11-23 22:10:48 +01:00
parent fd3ea792a4
commit 44d6289e5d
2 changed files with 27 additions and 0 deletions

19
foundryvtt/PKGBUILD Normal file
View File

@@ -0,0 +1,19 @@
pkgname=foundry
pkgver=0.7.7
pkgrel=1
arch=("any")
source=("foundryvtt-$pkgver.zip"
"foundryvtt.desktop")
sha256sums=('372dc5e98007bae7bc6da618e1481b8ef469cc69caa1b4222a8087d00881b07d'
'013644de08cd814c9618aedd5a56e163a91066bc0a98540b7d817cb58f65bda3')
package() {
install -d "${pkgdir}/usr/share"
cp -r "${srcdir}" "${pkgdir}/usr/share/foundry"
install -d "${pkgdir}/usr/bin"
ln -s "/usr/share/foundry/foundryvtt" "${pkgdir}/usr/bin"
install -Dm644 "foundryvtt.desktop" "${pkgdir}/usr/share/applications/foundryvtt.desktop"
}