summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeartsDo2021-02-07 08:30:25 +0100
committerHeartsDo2021-02-07 08:30:25 +0100
commitd5bd453afd33d944fbf849add57ce9e9eee40bed (patch)
tree28b9a217b644b740d25c1d2fb505d98efb12da5b
parent1bacdc0e5427c2615e3754bdfa5052c99d74b10b (diff)
downloadaur-d5bd453afd33d944fbf849add57ce9e9eee40bed.tar.gz
Update to 8.2 by using the Debian package
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD39
2 files changed, 35 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index afa0daf42ea..fa3cb6fe667 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,20 @@
pkgbase = flashpoint-bin
pkgdesc = Launcher for BlueMaxima's Flashpoint - Infinity Edition.
- pkgver = 6.3
- pkgrel = 2.2
+ pkgver = 8.2.2
+ pkgrel = 1
url = http://bluemaxima.org/flashpoint/
arch = x86_64
license = MIT
depends = nss>=3.0
depends = php
depends = gtk3
- optdepends = wine: non-native game support
- source = https://download.unstable.life/flashpoint-launcher/linux/x64/flashpoint-linux-x64-20191112.tar.gz
- md5sums = 313d585f60cb4d7a0c834e0ff693729c
+ depends = libxss
+ depends = wine
+ optdepends = flashplayer-stadalone: native Flash support
+ backup = usr/lib/flashpoint-infinity/config.json
+ backup = usr/lib/flashpoint-infinity/preferences.json
+ source = https://bluepload.unstable.life/flashpoint-infinity-8-2-2-amd64-deb.7z
+ md5sums = 8561bb13ec24ed8af02e07bad5563a42
pkgname = flashpoint-bin
diff --git a/PKGBUILD b/PKGBUILD
index e462ce01e8d..a3ccee67468 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,39 @@
-# Maintainer : Colin Berry <colinb969 at gmail dot com>
+# Maintainer : HeartsDo <heartsdo[at]vivaldi[dot]net>
+# Contributor : Colin Berry <colinb969 at gmail dot com>
pkgname=flashpoint-bin
-pkgver=6.3
-pkgrel=2.2
+pkgver=8.2.2
+pkgrel=1
pkgdesc="Launcher for BlueMaxima's Flashpoint - Infinity Edition."
arch=('x86_64')
url="http://bluemaxima.org/flashpoint/"
license=('MIT')
depends=('nss>=3.0'
'php'
- 'gtk3')
-optdepends=('wine: non-native game support')
-source=('https://download.unstable.life/flashpoint-launcher/linux/x64/flashpoint-linux-x64-20191112.tar.gz')
-md5sums=('313d585f60cb4d7a0c834e0ff693729c')
+ 'gtk3'
+ 'libxss'
+ 'wine')
+optdepends=('flashplayer-stadalone: native Flash support')
+source=('https://bluepload.unstable.life/flashpoint-infinity-8-2-2-amd64-deb.7z')
+md5sums=('8561bb13ec24ed8af02e07bad5563a42')
+backup=('usr/lib/flashpoint-infinity/config.json'
+ 'usr/lib/flashpoint-infinity/preferences.json')
+
+prepare(){
+ # Extract .deb and data
+ cd ${srcdir}
+ bsdtar xf flashpoint-infinity_8.2-2_amd64.deb
+}
package(){
# Extract package data
- tar xf flashpoint-linux-x64-20191112.tar.gz -C "${pkgdir}"
+ tar xf data.tar.xz -C ${pkgdir}
+
+ # Make config and preferences writable by all
+ chmod 666 "${pkgdir}/usr/lib/flashpoint-infinity/config.json"
+ touch "${pkgdir}/usr/lib/flashpoint-infinity/preferences.json"
+ chmod 666 "${pkgdir}/usr/lib/flashpoint-infinity/preferences.json"
# Symlink exec
install -dm755 "${pkgdir}/usr/bin"
- ln -s "/opt/flashpoint/FlashpointLauncher" "${pkgdir}/usr/bin/flashpoint"
-
- # Install License
- install -Dm644 "${pkgdir}/opt/flashpoint/licenses/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-} \ No newline at end of file
+ ln -s "/usr/lib/flashpoint-infinity/flashpoint-launcher" "${pkgdir}/usr/bin/flashpoint-infinity"
+}