summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7955354fa318b303e239d5a861c0a52e378f05a8 (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
# Maintainer: Nils Bars <nils@nbars.de>

pkgname=cutecom
pkgver=0.50.0
pkgrel=0
pkgdesc="A graphical serial terminal"
arch=('x86_64')
url="https://gitlab.com/cutecom/cutecom"
license=('GPL3')
depends=('qt5-serialport')
makedepends=('cmake')
source=(${pkgname}-v${pkgver}.tar.gz::${url}/-/archive/v${pkgver}/cutecom-v${pkgver}.tar.gz)

build() {
  cd ${srcdir}/cutecom-v${pkgver}

  cmake .
  make || return 1
}

package() {
  cd ${srcdir}/cutecom-v${pkgver}
  install -D -m 644 cutecom.desktop ${pkgdir}/usr/share/applications/cutecom.desktop
  install -D -m 755 cutecom ${pkgdir}/usr/bin/cutecom
  install -D -m 644 cutecom.1 ${pkgdir}/usr/share/man/man1/cutecom.1
}

md5sums=('17062fcb0c063e496c09f0255e471268')