diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..64b0b14573bf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Wellington <wellingtonwallace@gmail.com> +pkgname=wwplot +pkgver=0.0.1 +pkgrel=1 +pkgdesc="Plotting Tool for Experimental Physics Classes" +arch=(any) +url="https://github.com/wwmm/wwplot" +license=('GPL3') +depends=(python python-gobject python-cairocffi gtk3 python-numpy python-scipy + python-matplotlib) +makedepends=('meson') +options=(!emptydirs) +source=("$pkgname-$pkgver::https://github.com/wwmm/wwplot/archive/v$pkgver.tar.gz") +md5sums=('e80d6f3e363bd5ff8402982117639cef') + +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: |