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 --- .SRCINFO | 15 +++++++++++++++ PKGBUILD | 22 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..8ec9171 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = live-chart + pkgdesc = A real-time charting library for Vala and GTK4 based on Cairo + pkgver = 1.9.1 + pkgrel = 1 + url = https://github.com/lcallarec/live-chart + arch = x86_64 + license = MIT + makedepends = meson + depends = gtk3 + depends = gtk4 + depends = libgee + source = live-chart-1.9.1.tar.gz::https://github.com/lcallarec/live-chart/archive/1.9.1.tar.gz + sha256sums = 7b5f1d0807b5f6e8b09e2c1dd468af22379578b55b38afd530c0ff006bc33e53 + +pkgname = live-chart 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