summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeoTheFox2020-11-15 22:51:04 +0300
committerNeoTheFox2020-11-15 22:51:04 +0300
commit8ce2a517d714ce3bd666b08fdf3aefc1c55b182a (patch)
treed5bf2e4c25ae40e3257af4b94fa7cbb84c8c119c
parent61dd7cf324b75d76f51e86fef0c475c276573c98 (diff)
downloadaur-8ce2a517d714ce3bd666b08fdf3aefc1c55b182a.tar.gz
added .desktop file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
-rw-r--r--edmarketconnector.desktop9
3 files changed, 19 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f29fdfb54d92..eebe304364f1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = edmarketconnector
pkgdesc = Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools
pkgver = 4.1.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/EDCD/EDMarketConnector
arch = x86_64
license = GPL
@@ -13,8 +13,10 @@ pkgbase = edmarketconnector
conflicts = edmarketconnector
source = https://github.com/EDCD/EDMarketConnector/archive/Release/4.1.4.tar.gz
source = edmarketconnector.sh
+ source = edmarketconnector.desktop
sha256sums = 05f1cd79eb0d17dad15394e09fcc2f807e4e2c0242d756fee9e4622f3eb76f0a
sha256sums = 7be0528d56edfcb444c4a7ba7a18e85296571e7558906c90fe6520c03206242c
+ sha256sums = fa797932630e7b5e7cc42b0f0f4b20126b5af67661c636885b5486008cb1b13a
pkgname = edmarketconnector
diff --git a/PKGBUILD b/PKGBUILD
index 5d7c2e91f42a..b725dd994c97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=edmarketconnector
pkgver=4.1.4
-pkgrel=1
+pkgrel=2
pkgdesc='Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools'
arch=('x86_64')
url='https://github.com/EDCD/EDMarketConnector'
@@ -11,19 +11,18 @@ provides=('edmarketconnector')
conflicts=('edmarketconnector')
depends=('python-certifi' 'python-requests' 'python-watchdog' 'python-semantic-version')
source=("https://github.com/EDCD/EDMarketConnector/archive/Release/${pkgver}.tar.gz"
- "edmarketconnector.sh")
+ "edmarketconnector.sh"
+ "edmarketconnector.desktop")
sha256sums=('05f1cd79eb0d17dad15394e09fcc2f807e4e2c0242d756fee9e4622f3eb76f0a'
- '7be0528d56edfcb444c4a7ba7a18e85296571e7558906c90fe6520c03206242c')
-
-#build() {
-# #cd "${srcdir}/${_projectname}-${_gittag}"
-# python setup.py build
-#}
+ '7be0528d56edfcb444c4a7ba7a18e85296571e7558906c90fe6520c03206242c'
+ 'fa797932630e7b5e7cc42b0f0f4b20126b5af67661c636885b5486008cb1b13a')
package() {
mkdir -p ${pkgdir}/usr/lib/edmarketconnector
mkdir -p ${pkgdir}/usr/bin/
+ mkdir -p ${pkgdir}/usr/share/applications
cp ${srcdir}/EDMarketConnector-Release-${pkgver}/* ${pkgdir}/usr/lib/edmarketconnector -r
install -m755 edmarketconnector.sh ${pkgdir}/usr/bin/edmarketconnector.sh
+ install -m644 edmarketconnector.desktop ${pkgdir}/usr/share/applications/edmarketconnector.desktop
}
diff --git a/edmarketconnector.desktop b/edmarketconnector.desktop
new file mode 100644
index 000000000000..6f109502690a
--- /dev/null
+++ b/edmarketconnector.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=EDMarketConnector
+Comment=Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.
+Exec=edmarketconnector.sh
+Icon=application-rss+xml-symbolic
+Terminal=false
+Categories=Games;