blob: e4a4001d1f2e2b8ba5738ab3b0a26946ed424940 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Tomas S. <me+aur at wereii.cz>
# Controbutor: Martin Petrus <martin.petrus@example.com>
# Contributor: Simon Perry <aur [at] sanxion [dot] net>
# Contributor: Kochetkov Andrey <gornet@gmail.com>
# Contributor: Fabian Schoelzel <myfirstname.mylastname@googlemail.com>
pkgname=pyfa
pkgver=2.61.3
pkgrel=2
_distname="Pyfa-${pkgver}"
pkgdesc="EVE Online Fitting Assistant"
arch=('any')
url="https://github.com/pyfa-org/Pyfa"
license=('GPL3')
makedepends=('python-pip')
depends=('python' 'python-wxpython' 'python-logbook' 'python-matplotlib' 'python-dateutil' 'python-setuptools' 'python-requests' 'python-sqlalchemy1.4' 'python-cryptography' 'python-markdown2' 'python-packaging' 'python-beautifulsoup4' 'python-yaml' 'python-roman' 'python-numpy' 'python-jose' 'python-requests-cache' 'webkit2gtk-4.1')
optdepends=()
options=(!strip)
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/pyfa-org/Pyfa/archive/v$pkgver.tar.gz
pyfa.desktop
pyfa-start.sh
)
sha256sums=('5151ee981170df21775e835a6189370c35bb1c41d35dc546408994f1fcbb7080'
'4a9b543a8cbf4c4fef6758a4be2b3c9ff9aa6e7f8281d8b0efbfb0dcd39bc635'
'0fa4a1cb835ddbb764957cd00426f9bfa52b17bcb6d5dc7428afc256da5e01da')
build() {
cd "${srcdir}"/"${_distname}"
PYTHONDONTWRITEBYTECODE=1 python db_update.py
#find . -name "__pycache__" -type d -prune -exec rm -r "{}" \;
}
package() {
install -dm755 "${pkgdir}"/usr/share/pyfa
install -dm755 "${pkgdir}"/usr/share/licenses/pyfa
install -Dm644 "${srcdir}"/"${_distname}"/config.py "${pkgdir}"/usr/share/pyfa
install -Dm644 "${srcdir}"/"${_distname}"/db_update.py "${pkgdir}"/usr/share/pyfa
install -Dm644 "${srcdir}"/"${_distname}"/eve.db "${pkgdir}"/usr/share/pyfa
install -Dm755 "${srcdir}"/"${_distname}"/pyfa.py "${pkgdir}"/usr/share/pyfa
install -Dm644 "${srcdir}"/"${_distname}"/README.md "${pkgdir}"/usr/share/pyfa
install -Dm644 "${srcdir}"/"${_distname}"/version.yml "${pkgdir}"/usr/share/pyfa
install -Dm644 "${srcdir}"/"${_distname}"/LICENSE "${pkgdir}"/usr/share/licenses/pyfa
cp -a "${srcdir}"/"${_distname}"/eos "${pkgdir}"/usr/share/pyfa
cp -a "${srcdir}"/"${_distname}"/graphs "${pkgdir}"/usr/share/pyfa
cp -a "${srcdir}"/"${_distname}"/gui "${pkgdir}"/usr/share/pyfa
cp -a "${srcdir}"/"${_distname}"/imgs "${pkgdir}"/usr/share/pyfa
cp -a "${srcdir}"/"${_distname}"/service "${pkgdir}"/usr/share/pyfa
cp -a "${srcdir}"/"${_distname}"/utils "${pkgdir}"/usr/share/pyfa
install -dm755 "${pkgdir}"/usr/share/pixmaps
install -Dm644 "${srcdir}"/"${_distname}"/imgs/gui/pyfa64.png "${pkgdir}"/usr/share/pixmaps/pyfa.png
install -Dm644 "${srcdir}"/pyfa.desktop "${pkgdir}"/usr/share/applications/pyfa.desktop
install -Dm755 "${srcdir}"/pyfa-start.sh "${pkgdir}"/usr/bin/pyfa
}
|