summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de3e63246e6a7c23e74f529b5a0e6c5f110f77e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Yigit Sever <yigit@yigitsever.com>
pkgname=live-chart
pkgver=1.10.0
pkgrel=1
pkgdesc="A real-time charting library for Vala and GTK4 based on Cairo"
arch=('x86_64')
url="https://github.com/lcallarec/live-chart"
license=('MIT')
depends=('gtk3' 'gtk4' 'libgee')
makedepends=('meson')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('3f54c7569cc2a4711b5689038055aefc4321636f3e6dd4945e4be204bc9d4843')

build() {
  arch-meson "${pkgname}-${pkgver}" build
  meson compile -C build
}

package() {
  meson install -C build --destdir "${pkgdir}"
  install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}