summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1552c87c7461e1b0be7322608611c8b4bf4444e3 (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
# Maintainer: mickael9 <mickael9@gmail.com>
# Contributor: Oleg Finkelshteyn <olegfink@gmail.com>
pkgname=picocom-git
_pkgname=picocom
pkgver=r416.7b6acbd
pkgrel=2
arch=(x86_64 i686)
pkgdesc='Minimal dumb-terminal emulation program, very much like minicom. Development version'
url='https://gitlab.com/wsakernel/picocom'
license=(GPL2)
source=('git+https://gitlab.com/wsakernel/picocom.git')
makedepends=(git go-md2man)
conflicts=(picocom)
provides=(picocom)

pkgver() {
  cd $_pkgname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

build() {
  cd $_pkgname
  make all doc
}

package() {
  cd $_pkgname
  install -D -m 755 picocom "$pkgdir/usr/bin/picocom"
  install -D -m 644 picocom.1 "$pkgdir/usr/share/man/man1/picocom.1"
}

md5sums=('SKIP')