diff options
author | zxp19821005 | 2023-11-21 17:41:36 +0800 |
---|---|---|
committer | zxp19821005 | 2023-11-21 17:41:36 +0800 |
commit | 491c3b7a589451f19d45f091024486b078f716fe (patch) | |
tree | 748f8063ba5d052cdf106a6ff8a4c99eff13a509 | |
parent | 3d839bb0e8c3abea12da839f8f3c6b752d4a0142 (diff) | |
download | aur-491c3b7a589451f19d45f091024486b078f716fe.tar.gz |
update to 12.1
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 74 | ||||
-rw-r--r-- | flashpoint.sh | 0 |
3 files changed, 55 insertions, 42 deletions
@@ -1,20 +1,25 @@ pkgbase = flashpoint-bin pkgdesc = Launcher for BlueMaxima's Flashpoint - Infinity Edition. - pkgver = 8.2.2 - pkgrel = 2 - url = http://bluemaxima.org/flashpoint/ + pkgver = 12.1 + pkgrel = 1 + url = https://flashpointarchive.org arch = x86_64 - license = MIT + license = custom:freeware + makedepends = gendesk depends = nss>=3.0 depends = php depends = gtk3 depends = libxss depends = wine + depends = pipewire-pulse + depends = xorg-server + depends = lib32-libxcomposite optdepends = flashplayer-standalone: 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 + optdepends = gtk2 + optdepends = libxt + noextract = flashpoint-12.1.7z + source = flashpoint-12.1.7z::https://download.unstable.life/upload/fp121_linux_111123.7z + source = flashpoint.svg::https://flashpointarchive.org/images/logo.svg + sha256sums = bc388687e17e9b548c4eb5823364720f6b0da21bb49fc69177ba79d870bcb64f pkgname = flashpoint-bin - @@ -1,39 +1,47 @@ -# Maintainer : HeartsDo <heartsdo[at]vivaldi[dot]net> +# Maintainer: zxp19821005 <zxp19821005 at 163 dot com> +# Contributor : HeartsDo <heartsdo[at]vivaldi[dot]net> # Contributor : Colin Berry <colinb969 at gmail dot com> pkgname=flashpoint-bin -pkgver=8.2.2 -pkgrel=2 +_pkgname=Flashpoint +pkgver=12.1 +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' - 'libxss' - 'wine') -optdepends=('flashplayer-standalone: 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 - cd ${srcdir} - bsdtar xf flashpoint-infinity_8.2-2_amd64.deb +url="https://flashpointarchive.org" +_ghurl="https://github.com/FlashpointProject" +license=('custom:freeware') +depends=( + 'nss>=3.0' + 'php' + 'gtk3' + 'libxss' + 'wine' + 'pipewire-pulse' + 'xorg-server' + 'lib32-libxcomposite' +) +makedepends=( + 'gendesk' +) +optdepends=( + 'flashplayer-standalone: native Flash support' + 'gtk2' + 'libxt' +) +noextract=("${pkgname%-bin}-${pkgver}.7z") +source=( + "${pkgname%-bin}-${pkgver}.7z::https://download.unstable.life/upload/fp${pkgver//./}_linux_111123.7z" + "${pkgname%-bin}.svg::${url}/images/logo.svg" +) +sha256sums=('bc388687e17e9b548c4eb5823364720f6b0da21bb49fc69177ba79d870bcb64f') +build(){ + install -Dm755 -d "${srcdir}/opt/${pkgname%-bin}" + bsdtar -xf "${srcdir}/${pkgname%-bin}-${pkgver}.7z" -C "${srcdir}/opt/${pkgname%-bin}" + gendesk -f -n -q --categories "Game" --name "${_pkgname}" --exec "${pkgname%-bin}" } - package(){ - # Extract package data - 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 "/usr/lib/flashpoint-infinity/flashpoint-launcher" "${pkgdir}/usr/bin/flashpoint-infinity" -} + cp -r "${srcdir}/opt" "${pkgdir}" + install -Dm755 -d "${pkgdir}/usr/bin" + ln -sf "/opt/${pkgname%-bin}/start-${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}" + install -Dm644 "${srcdir}/${pkgname%-bin}.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" +}
\ No newline at end of file diff --git a/flashpoint.sh b/flashpoint.sh new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/flashpoint.sh |