summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeSnake042021-07-25 00:11:47 +0200
committerLeSnake042021-07-25 00:11:47 +0200
commitf89a76121cf9125ea17be293c3781a2dd451f61c (patch)
treec61938e7bdbcc0d8b54828b7fabf992bcaa13bcd
parentde165498af850b8ff6807367a522e8d13c353c6f (diff)
downloadaur-f89a76121cf9125ea17be293c3781a2dd451f61c.tar.gz
added desktop entry
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD36
-rw-r--r--flashpoint.desktop2
3 files changed, 32 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b6a85a8d3677..fd36efceff2c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = flashpoint-launcher-bin
pkgdesc = Launcher for BlueMaxima's Flashpoint - Does not include data files! - Launcher software only.
pkgver = 10.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/FlashpointProject/launcher
arch = x86_64
license = MIT
@@ -14,7 +14,13 @@ pkgbase = flashpoint-launcher-bin
conflicts = flashpoint-bin
conflicts = flashpoint-launcher-git
source = flashpoint-launcher-bin-10.0.0.7z::https://github.com/FlashpointProject/launcher/releases/download/10.0.0/Flashpoint-10.0.0_linux-x64.7z
+ source = icon.png::https://aur.archlinux.org/cgit/aur.git/plain/icon.png?h=flashpoint-launcher-bin
+ source = flashpoint.desktop::https://aur.archlinux.org/cgit/aur.git/plain/flashpoint.desktop?h=flashpoint-launcher-bin
md5sums = cfdebf0c15b03c1a7a6910cc4af7df49
+ md5sums = 8d71d8d61a0a39586b81faf9addaeb7a
+ md5sums = 4c4d02df6388d9859776a629f0b775ac
sha256sums = fbcb0403c856a5b738f9837c5dbfea8e5cdc6ff2160b5423d1fd7955d98e3c2a
+ sha256sums = 942e3a0c70833fadb25b3bf44503e7590d976f048d04fbe29ae4fc35dbcd5037
+ sha256sums = fe9a7031d0b092b205ffac08fb29fc5ff1d96cd29a004b16da1653cda21ce069
pkgname = flashpoint-launcher-bin
diff --git a/PKGBUILD b/PKGBUILD
index d9571429f835..f56499afde6a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=flashpoint-launcher-bin
pkgver=10.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Launcher for BlueMaxima's Flashpoint - Does not include data files! - Launcher software only."
arch=('x86_64')
url="https://github.com/FlashpointProject/launcher"
@@ -14,23 +14,35 @@ depends=('nss>=3.0'
'wine')
optdepends=('flashplayer-standalone: native Flash support')
conflicts=('flashpoint-bin' 'flashpoint-launcher-git')
-source=($pkgname-$pkgver.7z::"https://github.com/FlashpointProject/launcher/releases/download/10.0.0/Flashpoint-10.0.0_linux-x64.7z")
-sha256sums=('fbcb0403c856a5b738f9837c5dbfea8e5cdc6ff2160b5423d1fd7955d98e3c2a')
-md5sums=('cfdebf0c15b03c1a7a6910cc4af7df49')
+source=("$pkgname-$pkgver.7z"::"https://github.com/FlashpointProject/launcher/releases/download/10.0.0/Flashpoint-10.0.0_linux-x64.7z"
+ "icon.png"::"https://aur.archlinux.org/cgit/aur.git/plain/icon.png?h=flashpoint-launcher-bin"
+ "flashpoint.desktop"::"https://aur.archlinux.org/cgit/aur.git/plain/flashpoint.desktop?h=flashpoint-launcher-bin")
+sha256sums=('fbcb0403c856a5b738f9837c5dbfea8e5cdc6ff2160b5423d1fd7955d98e3c2a'
+ '942e3a0c70833fadb25b3bf44503e7590d976f048d04fbe29ae4fc35dbcd5037'
+ 'fe9a7031d0b092b205ffac08fb29fc5ff1d96cd29a004b16da1653cda21ce069')
+md5sums=('cfdebf0c15b03c1a7a6910cc4af7df49'
+ '8d71d8d61a0a39586b81faf9addaeb7a'
+ '4c4d02df6388d9859776a629f0b775ac')
package(){
- # Application
- rm $srcdir/flashpoint-launcher-bin-$pkgver.7z
- mkdir -p $pkgdir/opt/flashpoint $pkgdir/usr/share/pixmaps/
- cp -R $srcdir/* "$pkgdir/opt/flashpoint"
- #cp $srcdir/$pkgname/icons/icon.png "$pkgdir/usr/share/pixmaps/flashpoint.png"
-
+
# Symlink to binary (WIP)
#ln -sf /opt/flashpoint/linux-unpacked/flashpoint-launcher $pkgdir/usr/bin/flashpoint-launcher
- # Desktop Entry (WIP)
- #install -Dm644 ./flashpoint.desktop "$pkgdir/usr/share/applications/flashpoint.desktop"
+ # Desktop Entry
+ install -Dm644 $srcdir/flashpoint.desktop $pkgdir/usr/share/applications/flashpoint.desktop
# License
install -Dm644 $srcdir/licenses/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # Icon
+ install -Dm644 $srcdir/icon.png "$pkgdir/usr/share/pixmaps/flashpoint.png"
+
+ rm $srcdir/$pkgname-$pkgver.7z
+ rm $srcdir/icon.png
+ rm $srcdir/flashpoint.desktop
+
+ # Application
+ mkdir -p $pkgdir/opt/flashpoint $pkgdir/usr/share/pixmaps/
+ cp -R $srcdir/* "$pkgdir/opt/flashpoint"
}
diff --git a/flashpoint.desktop b/flashpoint.desktop
index 299d703c28ba..e23afec8f2ba 100644
--- a/flashpoint.desktop
+++ b/flashpoint.desktop
@@ -4,6 +4,6 @@ Type=Application
Name=Flashpoint
Comment=Launcher for BlueMaxima's Flashpoint
Icon=/usr/share/pixmaps/flashpoint.png
-Exec=/opt/flashpoint/linux-unpacked/flashpoint-launcher
+Exec=/opt/flashpoint/flashpoint-launcher
Actions=
Categories=Game