diff options
author | Alexis Jeandeau | 2020-10-16 23:25:55 +0900 |
---|---|---|
committer | Alexis Jeandeau | 2020-10-16 23:57:44 +0900 |
commit | 2b9bbf35106f0c2dc935093c5c281cb822112e64 (patch) | |
tree | b77aa43034eb18e77084996d67af014b963cd15a | |
download | aur-2b9bbf35106f0c2dc935093c5c281cb822112e64.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 57 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | flycasual.desktop | 8 | ||||
-rwxr-xr-x | flycasual.sh | 6 |
5 files changed, 118 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f82006da28fd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = flycasual-bin + pkgdesc = Fan-made "Star Wars: X-Wing Miniatures Game" simulator + pkgver = 0.7.6 + pkgrel = 1 + url = https://github.com/Sandrem/FlyCasual + arch = x86_64 + license = MIT + depends = lib32-gtk2 + source = https://github.com/Sandrem/FlyCasual/releases/download/0.7.6/Linux.zip + source = flycasual.sh + source = flycasual.desktop + sha256sums = ec68cb397af6208ba535762faa4e84be5618257f7742a4604018d19ec4303091 + sha256sums = 07980d05ff1f158b381d5a903d98d593ed72b5ffaaa99ae481e2657ac2901c34 + sha256sums = a005a2dd3dde0ac5210ab509bbdf3f1eb453ca7da9992768848216422c643ba3 + +pkgname = flycasual-bin + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..d3c6edce5ddf --- /dev/null +++ b/.gitignore @@ -0,0 +1,57 @@ +### ArchLinux Packages ### +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### Vim ### +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +### vscode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f4f244a9768 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Alexis Jeandeau <alexis[dot]jeandeau[at]gmail[dot]com> + +pkgname=flycasual-bin +pkgver=0.7.6 +pkgrel=1 +pkgdesc="Fan-made \"Star Wars: X-Wing Miniatures Game\" simulator" +arch=('x86_64') +url="https://github.com/Sandrem/FlyCasual" +license=('MIT') +depends=('lib32-gtk2') + +source=("https://github.com/Sandrem/FlyCasual/releases/download/${pkgver}/Linux.zip" + 'flycasual.sh' + 'flycasual.desktop') + +sha256sums=('ec68cb397af6208ba535762faa4e84be5618257f7742a4604018d19ec4303091' + '07980d05ff1f158b381d5a903d98d593ed72b5ffaaa99ae481e2657ac2901c34' + 'a005a2dd3dde0ac5210ab509bbdf3f1eb453ca7da9992768848216422c643ba3') + +package() { + cd "${srcdir}" + + install -Dm755 "${srcdir}/flycasual.sh" "${pkgdir}/usr/bin/flycasual" + install -Dm755 "${srcdir}/Linux/FlyCasual.x86" "${pkgdir}/opt/FlyCasual/FlyCasual" + + install -dm755 "${pkgdir}/opt/FlyCasual/FlyCasual_Data" + cp -a "${srcdir}"/Linux/FlyCasual_Data/* "${pkgdir}/opt/FlyCasual/FlyCasual_Data/" + + install -Dm644 "${srcdir}/flycasual.desktop" "${pkgdir}/usr/share/applications/flycasual.desktop" +} diff --git a/flycasual.desktop b/flycasual.desktop new file mode 100644 index 000000000000..897a8b553309 --- /dev/null +++ b/flycasual.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Fly Casual +Comment=A fan-made "Star Wars: X-Wing Miniatures Game" simulator +Categories=Game;BoardGame; +Terminal=false +Icon=flycasual +Exec=flycasual diff --git a/flycasual.sh b/flycasual.sh new file mode 100755 index 000000000000..dc09c69564e6 --- /dev/null +++ b/flycasual.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +set -eu + +cd /opt/FlyCasual +exec ./FlyCasual "$@" |