diff options
author | Yigit Sever | 2023-12-04 16:07:06 +0300 |
---|---|---|
committer | Yigit Sever | 2023-12-04 16:07:06 +0300 |
commit | 3a4e11c382895c3ee880bddf8658a842f5473a3e (patch) | |
tree | 9e97f214427da07fef03bf56a2d04b8a4292bb0b /PKGBUILD | |
download | packages-3a4e11c382895c3ee880bddf8658a842f5473a3e.tar.gz packages-3a4e11c382895c3ee880bddf8658a842f5473a3e.tar.bz2 packages-3a4e11c382895c3ee880bddf8658a842f5473a3e.zip |
Add to AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
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 | } | ||