blob: 8ba59e21acada5ca15be2a24d4ebd0594ff9d53a (
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: rivo nurges <rivo@surfar.ee>
pkgname=dterm-git
pkgver=r4.b12f6b4
pkgrel=1
pkgdesc='Simple serial terminal emulator'
url='https://github.com/donatnz/dterm'
license=('GPL2')
arch=('i686' 'x86_64')
depends=('readline')
optdepends=('lrzsz: for X/ZMODEM file transfer functionality')
source=("${pkgname}::git+https://github.com/donatnz/dterm.git")
md5sums=('SKIP')
conflicts=('dterm')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "${srcdir}"/${pkgname}
make
}
package() {
cd "${srcdir}"/${pkgname}
install -D dterm "${pkgdir}"/usr/bin/dterm
install -D -m 0644 README.txt "${pkgdir}"/usr/share/doc/dterm/README.txt
}
|