summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 342f8e024d651fcaad2d9abf4f6aec9f7485e4e6 (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
# Maintainer: ra1nb0w <rainbow@irh.it>

pkgname=gtkterm
pkgver=1.3.1
pkgrel=1
pkgdesc="A gtk+ based serial port communication program"
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/Jeija/gtkterm"
license=('GPL3')
depends=('gtk3' 'vte3' 'libgudev')
makedepends=('meson' 'ninja')
conflicts=('gtkterm')
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('47e39011067ccaa5e965308225d8f80ea4e1793ca884d7f32600fa1fb9ae6628')
install="${pkgname}.install"

build()
{
    cd "${pkgname}-${pkgver}"
    meson --prefix=/usr --buildtype=plain build
    meson compile -C build
}

package()
{
    cd "${pkgname}-${pkgver}"
    meson install -C build --destdir "$pkgdir"
}