summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Berry2019-12-16 14:48:38 +0000
committerColin Berry2019-12-16 14:48:38 +0000
commit2ab81d65f08f74b5674bd314626e4a18f3ab7c0c (patch)
tree4841353bd3ddf73ed7e2ea3357550b3a0d283afb
parent79bb53545b1b415816fc136f8ada18407c5233c2 (diff)
downloadaur-2ab81d65f08f74b5674bd314626e4a18f3ab7c0c.tar.gz
Rollback to working pkgbuild
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD20
2 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bca2cb62841..055d4b9ca18 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = flashpoint-bin
pkgdesc = Launcher for BlueMaxima's Flashpoint - Infinity Edition.
pkgver = 6.3
- pkgrel = 2.0
+ pkgrel = 2.1
url = http://bluemaxima.org/flashpoint/
arch = x86_64
license = MIT
@@ -10,7 +10,7 @@ pkgbase = flashpoint-bin
depends = gtk3
optdepends = wine: non-native game support
source = https://bluepload.unstable.life/selif/flashpoint-linux-x64-20191112.tar.gz
- sha256sums = acc22863f71e257b7dda162643aa941689f52f342af6657a51ab1f49b833272c
+ md5sums = 313d585f60cb4d7a0c834e0ff693729c
pkgname = flashpoint-bin
diff --git a/PKGBUILD b/PKGBUILD
index 8383e3adb18..3376642e200 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
-# Maintainer : Colin Berry <colinb969{at}gmail{dot}com>
-# Maintainer : oshaboy <noamgilor{at}protonmail{dot}com>
+# Maintainer : Colin Berry <colinb969 at gmail dot com>
pkgname=flashpoint-bin
pkgver=6.3
-pkgrel=2.0
+pkgrel=2.1
pkgdesc="Launcher for BlueMaxima's Flashpoint - Infinity Edition."
arch=('x86_64')
url="http://bluemaxima.org/flashpoint/"
@@ -12,15 +11,16 @@ depends=('nss>=3.0'
'gtk3')
optdepends=('wine: non-native game support')
source=('https://bluepload.unstable.life/selif/flashpoint-linux-x64-20191112.tar.gz')
-sha256sums=('acc22863f71e257b7dda162643aa941689f52f342af6657a51ab1f49b833272c')
+md5sums=('313d585f60cb4d7a0c834e0ff693729c')
package(){
+ # Extract package data
+ tar xf flashpoint-linux-x64-20191112.tar.gz -C "${pkgdir}"
- mkdir "${pkgdir}/usr" "${pkgdir}/usr/bin" "${pkgdir}/usr/opt"
- cp -rv "${srcdir}/opt" "${pkgdir}/opt"
- cp -rv "${srcdir}/usr" "${pkgdir}/usr"
# Symlink exec
+ install -dm755 "${pkgdir}/usr/bin"
ln -s "/opt/flashpoint/FlashpointLauncher" "${pkgdir}/usr/bin/flashpoint"
- # License
- install -Dm644 "${pkgdir}/opt/flashpoint/licenses/LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-}
+
+ # Install License
+ install -Dm644 "${pkgdir}/opt/flashpoint/licenses/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+} \ No newline at end of file