diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..8ec9171 --- /dev/null +++ b/.SRCINFO | |||
@@ -0,0 +1,15 @@ | |||
1 | pkgbase = live-chart | ||
2 | pkgdesc = A real-time charting library for Vala and GTK4 based on Cairo | ||
3 | pkgver = 1.9.1 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/lcallarec/live-chart | ||
6 | arch = x86_64 | ||
7 | license = MIT | ||
8 | makedepends = meson | ||
9 | depends = gtk3 | ||
10 | depends = gtk4 | ||
11 | depends = libgee | ||
12 | source = live-chart-1.9.1.tar.gz::https://github.com/lcallarec/live-chart/archive/1.9.1.tar.gz | ||
13 | sha256sums = 7b5f1d0807b5f6e8b09e2c1dd468af22379578b55b38afd530c0ff006bc33e53 | ||
14 | |||
15 | pkgname = live-chart | ||
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..66c5252 --- /dev/null +++ b/PKGBUILD | |||
@@ -0,0 +1,22 @@ | |||
1 | # Maintainer: Yigit Sever <yigit@yigitsever.com> | ||
2 | pkgname=live-chart | ||
3 | pkgver=1.9.1 | ||
4 | pkgrel=1 | ||
5 | pkgdesc="A real-time charting library for Vala and GTK4 based on Cairo" | ||
6 | arch=('x86_64') | ||
7 | url="https://github.com/lcallarec/live-chart" | ||
8 | license=('MIT') | ||
9 | depends=('gtk3' 'gtk4' 'libgee') | ||
10 | makedepends=('meson') | ||
11 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") | ||
12 | sha256sums=('7b5f1d0807b5f6e8b09e2c1dd468af22379578b55b38afd530c0ff006bc33e53') | ||
13 | |||
14 | build() { | ||
15 | arch-meson "${pkgname}-${pkgver}" build | ||
16 | meson compile -C build | ||
17 | } | ||
18 | |||
19 | package() { | ||
20 | meson install -C build --destdir "${pkgdir}" | ||
21 | install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | ||
22 | } | ||