summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 29de1b8a5a384a99ba964390afcc106d902fbcb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: Aryan Kadole aryankadole95@gmail.com 

pkgbase=seriot-git
pkgname=(seriot-git)
pkgver=0.1.0
pkgrel=0
pkgdesc="A Gtk4 serial monitor and plotter"
arch=($CARCH)
url="https://github.com/ak1932/seriot"
license=('GPL3')
groups=()
replaces=()
makedepends=(
    meson
    ninja
    pkgconf

    vala
)

depends=(
    gtk4
    libadwaita
    glib2
    libgee
    cairo
)

checkdepends=()
optdepends=()
source=("seriot-beta.tar.gz::${url}/archive/refs/tags/beta.tar.gz")
sha256sums=('79ad83b1db3bddaad93869005a1665c5849a6590e423ea61b1f02ea580f70ad2')
options=()

build() {
    cd "${srcdir}/seriot-beta/"

    # see:https://wiki.archlinux.org/title/CMake_package_guidelines
    meson setup --prefix=/usr --libdir=lib --buildtype=plain "${srcdir}/seriot-beta/build"
    meson compile -C "${srcdir}/seriot-beta/build" 
}

package() {
    meson install -C "${srcdir}/seriot-beta/build" --destdir "$pkgdir"
}