summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c56f7ee1e22f4bdf0827480889872951dd80bc2 (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: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Nils Bars <nils@nbars.de>

pkgname=cutecom
pkgver=0.51.0
pkgrel=1
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 644 images/cutecom.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/cutecom.svg
  install -D -m 755 cutecom ${pkgdir}/usr/bin/cutecom
  install -D -m 644 cutecom.1 ${pkgdir}/usr/share/man/man1/cutecom.1
}

md5sums=('bcc5d13ab5c70f1e343ad32b57c9618c')