summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 732aef787add5d28b077e462139fc7f83f9a9c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: NeoTheFox <aur at repraptor.33mail.com>
# Maintainer: Henry Graham <henry)dot(arch)at(hgrahamcs)dot(com(>

pkgname=edmarketconnector
pkgver=6.0.2
pkgrel=1
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'
license=('GPL2')
provides=('edmarketconnector')
conflicts=('edmarketconnector')
depends=('tk' 'python-certifi' 'python-requests' 'python-watchdog' 'python-semantic-version' 'python-psutil' 'python-tomli-w')
source=("https://github.com/EDCD/EDMarketConnector/releases/download/Release%2F${pkgver}/EDMarketConnector-release-${pkgver}.tar.gz"
  "edmarketconnector.sh"
  "edmarketconnector.desktop"
  "edmarketconnector.svg")
sha256sums=('a2a815573546e775c31b9446b4334c38f16f9902f12cd3454e5fb862e0285279'
            '9a78ba9acb74e3d8c5a2a051cb058e113437dd786f6e8ed863398f4176a3b8a7'
            '204d4fb3d8d6b907d618d581fa32559d5270f16c65e8818ffcf836a554c5e3d3'
            '91f7fdd2f960bdaec07bfa6611d03b74d7be5f561b5b36363473db3c41b6c518')

package() {
  mkdir -p ${pkgdir}/usr/lib/edmarketconnector
  mkdir -p ${pkgdir}/usr/bin/
  mkdir -p ${pkgdir}/usr/share/applications
  mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps
  cp ${srcdir}/EDMarketConnector/* ${pkgdir}/usr/lib/edmarketconnector -r
  install -m755 edmarketconnector.sh ${pkgdir}/usr/bin/edmarketconnector.sh
  install -m644 edmarketconnector.desktop ${pkgdir}/usr/share/applications/edmarketconnector.desktop
  install -m644 edmarketconnector.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/edmarketconnector.svg
}