summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 93911172b6f159773d5274710d481d740e5148d8 (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
# Maintainer: vlirsub <vlirsub@gmail.com>

pkgname=vitables-git
pkgver=3.0.3
pkgrel=3
pkgdesc="A GUI browser and editor for PyTables/HDF5 files"
arch=(any)
url=https://vitables.org
license=(GPL3)
depends=(
  python-{build,installer,wheel}
  python-setuptools-scm
  'python-pyqt5'
  'python-qtpy'
  'python-pytables'
)
makedepends=(
  'python-hatch'
  'python-sphinx'
)
conflicts=('vitables')
source=(
  "git+https://github.com/uvemas/ViTables.git"
  "vitables.desktop"
  "vitables.svg"
)

prepare() {
  cd ViTables
}

build() {
  cd ViTables
  python -m build -wn
}

package() {
  cd ViTables
  python -m installer -d "$pkgdir" dist/*.whl
  install -d "$pkgdir"/usr/share/{applications,pixmaps,doc}
  install -m644 "$srcdir"/vitables.desktop "$pkgdir"/usr/share/applications/
  install -m644 "$srcdir"/vitables.svg "$pkgdir"/usr/share/pixmaps/
}

sha256sums=(SKIP
            'dd793f85d81591edd837a5fb94642dbf3ba488c69c605cbc2c87f74baea8676c'
            '0be6fdeb2c1f40fe2c478b0a6b9f99bad170d69f1210300d736bb98a5b9edcd8')