summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c2e6a77eada1867f8022eec0062099cd06d41d49 (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
# Maintainer: Wellington <wellingtonwallace@gmail.com>
pkgname=wwplot
pkgver=1.0.0
pkgrel=1
pkgdesc="Plotting Tool for Experimental Physics Classes"
arch=(any)
url="https://github.com/wwmm/wwplot"
license=('GPL3')
depends=(python pyside6 python-numpy python-scipy python-matplotlib qt6-base
        qt6-declarative)
makedepends=('meson')
options=(!emptydirs)
source=("$pkgname-$pkgver::https://github.com/wwmm/wwplot/archive/v$pkgver.tar.gz")
sha256sums=('9f25dad0c62d89ef38a85e4845079572b424b57d256a52d329c8948beb09e983')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  # Remove any potential residual build files
  rm -rf _build
  meson _build --prefix=/usr
}

package() {
  cd "$srcdir/$pkgname-$pkgver/_build"
  env DESTDIR="$pkgdir" ninja install
}

# vim:set ts=2 sw=2 et: