summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucki2017-08-29 15:42:08 +0200
committerLucki2017-08-29 15:42:08 +0200
commit58a34c2acf66e306dae42d65b1558237e655bb5e (patch)
tree1a46a9c5102b49c37a74b9c644b6d269f3d7cca4
parent073f50e0d6d44576f683a44e1f17157d848b6c8f (diff)
downloadaur-58a34c2acf66e306dae42d65b1558237e655bb5e.tar.gz
Better .desktop file
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD16
-rw-r--r--smokinguns.desktop11
3 files changed, 24 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bdc50b479cf..f6eb4a24672 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Wed Aug 9 19:59:04 UTC 2017
+# Tue Aug 29 13:40:55 UTC 2017
pkgbase = smokinguns-git
pkgdesc = A semi-realistic simulation of the old west great atmosphere built on id Tech 3.
pkgver = 1.1.r859.gf5d9ecf2
- pkgrel = 3
+ pkgrel = 4
url = http://www.smokin-guns.org
changelog = .CHANGELOG
arch = i686
arch = x86_64
license = GPL2
- makedepends = gendesk
depends = sdl
depends = speex
depends = hicolor-icon-theme
@@ -23,8 +22,10 @@ pkgbase = smokinguns-git
conflicts = smokinguns-data
source = smokinguns-git::git+https://github.com/smokin-guns/SmokinGuns.git
source = smokinguns-git-data::http://www.smokin-guns.org/downloads/Smokin_Guns_1.1.zip
+ source = smokinguns.desktop
sha512sums = SKIP
sha512sums = 51954ce00cccd9eb95a10491f0fcdea2d024058da11cbda7ee56c6369e8bc101d89ed95549cf4255393c3e1bec4585be12937e7ed7b20ff4cc0ce96685a5ce72
+ sha512sums = 37aefb4a9e811644af09bbbfdb35d6a2572bc70b6fe8ff0078330d1070e73ebcd18f2e656156f1e3d92b2ec7f6fdffe63b2c66018b449d8b5aa6402b3eb24d7d
pkgname = smokinguns-git
diff --git a/PKGBUILD b/PKGBUILD
index c9ec86f34e8..7de5d23bd79 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,31 +4,33 @@
pkgname=smokinguns-git
_pkgname=smokinguns
pkgver=1.1.r859.gf5d9ecf2
-pkgrel=3
+pkgrel=4
pkgdesc='A semi-realistic simulation of the old west great atmosphere built on id Tech 3.'
url="http://www.smokin-guns.org"
arch=('i686' 'x86_64')
license=('GPL2')
changelog=.CHANGELOG
depends=('sdl' 'speex' 'hicolor-icon-theme' 'freetype2' 'libglvnd' 'libjpeg-turbo')
-makedepends=('gendesk')
+# makedepends=('gendesk')
conflicts=('smokinguns-bin' 'smokinguns' 'smokinguns-data')
provides=('smokinguns-data' 'smokinguns')
source=("${pkgname}::git+https://github.com/smokin-guns/SmokinGuns.git"
- "${pkgname}-data::http://www.smokin-guns.org/downloads/Smokin_Guns_1.1.zip")
+ "${pkgname}-data::http://www.smokin-guns.org/downloads/Smokin_Guns_1.1.zip"
+ "smokinguns.desktop")
sha512sums=('SKIP'
- '51954ce00cccd9eb95a10491f0fcdea2d024058da11cbda7ee56c6369e8bc101d89ed95549cf4255393c3e1bec4585be12937e7ed7b20ff4cc0ce96685a5ce72')
+ '51954ce00cccd9eb95a10491f0fcdea2d024058da11cbda7ee56c6369e8bc101d89ed95549cf4255393c3e1bec4585be12937e7ed7b20ff4cc0ce96685a5ce72'
+ '37aefb4a9e811644af09bbbfdb35d6a2572bc70b6fe8ff0078330d1070e73ebcd18f2e656156f1e3d92b2ec7f6fdffe63b2c66018b449d8b5aa6402b3eb24d7d')
pkgver()
{
- cd "${srcdir}/${pkgname}"
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ cd "${srcdir}/${pkgname}"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare()
{
cd "${srcdir}"
- gendesk -n -f --name="Smokin' Guns"
+ # gendesk -n -f --name="Smokin' Guns"
# update .CHANGELOG
git -C "${srcdir}/${pkgname}" log --graph -10 > "${startdir}/.CHANGELOG"
diff --git a/smokinguns.desktop b/smokinguns.desktop
new file mode 100644
index 00000000000..2384589d0bc
--- /dev/null
+++ b/smokinguns.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Smokin' Guns
+Comment=A semi-realistic simulation of the old west great atmosphere built on id Tech 3.
+Exec=smokinguns
+Icon=smokinguns
+Terminal=false
+StartupNotify=false
+Categories=Game;
+GenericName=Wild-West-Shooter