From 3a4e11c382895c3ee880bddf8658a842f5473a3e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 4 Dec 2023 16:07:06 +0300 Subject: Add to AUR --- PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..66c5252 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Yigit Sever +pkgname=live-chart +pkgver=1.9.1 +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=('7b5f1d0807b5f6e8b09e2c1dd468af22379578b55b38afd530c0ff006bc33e53') + +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" +} -- cgit v1.2.3-70-g09d2